Commit d4b256b1 authored by Daniel Brötzmann's avatar Daniel Brötzmann

Tags: Display tags in post meta section only

parent c7a4a627
Pipeline #6181 passed with stage
in 8 seconds
...@@ -31,15 +31,6 @@ ...@@ -31,15 +31,6 @@
{{ .Content }} {{ .Content }}
{{ end }} {{ end }}
</div> </div>
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</div>
{{ end }}
</article> </article>
{{ end }} {{ end }}
</div> </div>
......
...@@ -5,14 +5,6 @@ ...@@ -5,14 +5,6 @@
<article role="main" class="blog-post"> <article role="main" class="blog-post">
{{ .Content }} {{ .Content }}
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</div>
{{ end }}
{{ if $.Param "socialShare" }} {{ if $.Param "socialShare" }}
<hr/> <hr/>
<section id="social-share"> <section id="social-share">
......
...@@ -35,14 +35,6 @@ ...@@ -35,14 +35,6 @@
{{ .Content }} {{ .Content }}
{{ end }} {{ end }}
</div> </div>
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</div>
{{ end }}
</article> </article>
{{ end }} {{ end }}
</div> </div>
......
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
{{ if .Site.Params.readingTime }} {{ if .Site.Params.readingTime }}
&nbsp;|&nbsp;<i class="fas fa-clock"></i>&nbsp;{{ i18n "readingTime"}}{{ .ReadingTime }}&nbsp;{{ i18n "readTime" }} &nbsp;|&nbsp;<i class="fas fa-clock"></i>&nbsp;{{ i18n "readingTime"}}{{ .ReadingTime }}&nbsp;{{ i18n "readTime" }}
{{ end }} {{ end }}
{{ if .Params.tags }}
{{ range .Params.tags }}
&nbsp;|&nbsp;<span class="blog-tags"><a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a></span>&nbsp;
{{ end }}
{{ end }}
{{ if .Site.Params.wordCount }} {{ if .Site.Params.wordCount }}
&nbsp;|&nbsp;<i class="fas fa-book"></i>&nbsp;{{ .WordCount }}&nbsp;{{ i18n "words" }} &nbsp;|&nbsp;<i class="fas fa-book"></i>&nbsp;{{ .WordCount }}&nbsp;{{ i18n "words" }}
{{ end }} {{ end }}
...@@ -42,4 +47,3 @@ ...@@ -42,4 +47,3 @@
&nbsp;&bull;&nbsp;{{ i18n "translationsLabel" }}{{ $linksOutput }} &nbsp;&bull;&nbsp;{{ i18n "translationsLabel" }}{{ $linksOutput }}
{{- end }} {{- end }}
</span> </span>
...@@ -399,10 +399,12 @@ footer .theme-by { ...@@ -399,10 +399,12 @@ footer .theme-by {
.blog-tags a { .blog-tags a {
border-radius: 0.25em; border-radius: 0.25em;
color: #ffffff; color: #ffffff !important;
font-style: normal;
background-color: #0085a1; background-color: #0085a1;
text-decoration: none; text-decoration: none;
padding: 0.25em 0.4em text-shadow: none;
padding: 0.15em 0.4em
} }
.blog-tags a:hover { .blog-tags a:hover {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment