Added tag styling like beautifuljekyll

This commit is contained in:
Jorge 2018-04-13 14:35:05 +01:00
commit 9e3bc16498
4 changed files with 25 additions and 8 deletions

View file

@ -49,11 +49,11 @@
</div>
{{ if .Params.tags }}
<span class="post-meta">
<div class="blog-tags">
{{ range .Params.tags }}
#<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</span>
</div>
{{ end }}
</article>

View file

@ -4,6 +4,15 @@
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<article role="main" class="blog-post">
{{ .Content }}
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</div>
{{ end }}
{{ if .Site.Params.socialShare }}
<hr/>
<section id="social-share">