mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
fix blog sort
This commit is contained in:
parent
2bb4fe68f1
commit
24556711ef
|
|
@ -41,7 +41,7 @@
|
|||
- id: We can’t find the page that you’re looking for :(
|
||||
translation: We can’t find the page that you’re looking for :(
|
||||
- id: Go To Home
|
||||
translation: Go To Home
|
||||
translation: 返回首页
|
||||
- id: icon
|
||||
translation: 图标
|
||||
- id: background image
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
<ul class='blogs-ul'>
|
||||
{{ range .Data.Pages }}
|
||||
{{ range (.Data.Pages.ByParam "createTime").Reverse }}
|
||||
<li data-tag='{{ .Params.tag }}'>
|
||||
<div class='img-div'>
|
||||
<img src="{{ .Params.snapshot }}" alt="{{ .Title }}">
|
||||
|
|
|
|||
|
|
@ -61,11 +61,13 @@
|
|||
<img src="/images/header/black.svg" alt="">
|
||||
<span>{{ .Site.Language.LanguageName }}</span>
|
||||
</div>
|
||||
{{ with .Page.AllTranslations }}
|
||||
<ul class="dropdown-menu">
|
||||
{{ range .Page.AllTranslations }}
|
||||
{{ range . }}
|
||||
<li onclick="location = '{{ .RelPermalink }}'">{{ .Language.LanguageName }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</li>
|
||||
<li class='btn-li'>
|
||||
<a href="https://demo.kubesphere.io/login" target="_blank" rel="noopener noreferrer">
|
||||
|
|
|
|||
Loading…
Reference in New Issue