forked from BgLUG/bglug.it
Compare commits
2 Commits
07d99e6f8e
...
6a0eec5c78
Author | SHA1 | Date | |
---|---|---|---|
6a0eec5c78 | |||
0c15555dc1 |
@ -1,5 +1,5 @@
|
|||||||
function show_all_tags(e) {
|
function show_all_tags(e) {
|
||||||
$(".tags-sidebar li").css("display","inline-block");
|
$(".tags-sidebar li").removeClass("hidden");
|
||||||
$(e).css("display","none");
|
$(e).addClass("hidden");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -209,3 +209,10 @@ article header div.author {
|
|||||||
.icon.major {
|
.icon.major {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tags-sidebar {
|
||||||
|
li.hidden {
|
||||||
|
display: none;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
}
|
@ -1,20 +1,24 @@
|
|||||||
{{ $hiddenTags := slice "linuxday-featured" }}
|
{{ $hiddenTags := slice "linuxday-featured" }}
|
||||||
{{ $years := where .Site.Taxonomies.grouping ".Page.Section" .Section }}
|
{{ $years1 := where .Site.Taxonomies.grouping ".Page.Section" .Section }}
|
||||||
|
{{ $years1 := $years1.Alphabetical.Reverse }}
|
||||||
|
{{ $years := slice }}
|
||||||
|
{{ range $years1 }}
|
||||||
|
{{ if and (strings.HasPrefix .Name "linuxday-") (not (in $hiddenTags .Name)) }}
|
||||||
|
{{ $years = $years | append . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{- if gt (len $years) 0 }}
|
{{- if gt (len $years) 0 }}
|
||||||
<section>
|
<section>
|
||||||
<h3>{{ T "editions" }}</h3>
|
<h3>{{ T "editions" }}</h3>
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
{{ range $years.Alphabetical.Reverse }}
|
{{ range $years }}
|
||||||
|
|
||||||
{{ if not (in $hiddenTags .Name ) }}
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/{{ .Page.Lang }}{{ .Page.Path }}">
|
<a href="/{{ .Page.Lang }}{{ .Page.Path }}">
|
||||||
{{ .Page.LinkTitle | safeHTML }}
|
{{ .Page.LinkTitle | safeHTML }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<li style="display: none;">
|
<li class="hidden">
|
||||||
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user