diff options
-rw-r--r-- | layouts/_default/single.html | 8 | ||||
-rw-r--r-- | layouts/shortcodes/imgScale.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 15d8107..910d6b6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,9 +21,11 @@ {{ end }} <div class="pull-right"> {{ range .Params.tags }} - {{ with $.Site.GetPage "taxonomy" ( print "/tags/" ( . | urlize ) ) }} - <span class="post-tag small"><a href="{{ .Permalink }}">#{{ .Name }}</a></span> - {{ end }} + <span class="post-tag small"> + <a href="{{ ($.Site.GetPage "taxonomy" ( print "/tags/" ( . ) ) ).Permalink }}"> + #{{ . }} + </a> + </span> {{ end }} </div> </div> diff --git a/layouts/shortcodes/imgScale.html b/layouts/shortcodes/imgScale.html index fb7816e..9684c5a 100644 --- a/layouts/shortcodes/imgScale.html +++ b/layouts/shortcodes/imgScale.html @@ -23,7 +23,7 @@ <figcaption> <h4> <center> - {{ $subtitle }} ({{ printf "%.*f" 2 (div (len $originalImage.Content) 1000000.0) }}MB) + {{ markdownify $subtitle }} ({{ printf "%.*f" 2 (div (len $originalImage.Content) 1000000.0) }}MB) </center> </h4> </figcaption> diff --git a/static/css/main.css b/static/css/main.css index 2a7be43..29e846f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -140,6 +140,7 @@ main { } .post-tag a { + margin-left: 10px; padding: 0 10px; border-radius: 12px; text-decoration: none; @@ -199,6 +200,7 @@ main { } .summary-container { + width: 100%; display: flex; flex-direction: column; justify-content: space-between; |