diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-15 15:30:14 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-15 15:30:54 +0200 |
commit | 4b541b2029f50bab5af774f98556120e84614972 (patch) | |
tree | fcbcd8a28d975b33340bb53dd4a03112d33a4a57 /layouts/_default | |
parent | d074c8eff1bbbc00b35b2bbb29fe7c3790de14ea (diff) | |
download | hugo-minimalist-theme-4b541b2029f50bab5af774f98556120e84614972.tar.gz hugo-minimalist-theme-4b541b2029f50bab5af774f98556120e84614972.tar.bz2 hugo-minimalist-theme-4b541b2029f50bab5af774f98556120e84614972.zip |
Share in social media and tags footer
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 308510f..62e3ce9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,14 +15,25 @@ {{ .Content }} </div> - <footer class="ph3"> + <footer class="ph3 pb2 bt bb cf b--black-50"> {{ with .Params.tags }} - <h1 class="f5 ttu black-60">Tagged in</br></h1> - {{ range . }} - <a class="f5 link dim br1 ph3 pv2 blue dib mb2 hover-bg-black hover-white ba" - href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a> - {{ end }} + <div class="fl w-50-ns mb2"> + <h5 class="f5 ttu black-60">Tagged in</br></h5> + {{ range . }} + <a class="f5 link br1 ph3 pv2 blue dib hover-bg-black hover-white ba" + href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a> + {{ end }} + </div> {{ end }} + + <div class="fl w-50 mb2"> + <h5 class="f5 ttu black-60">Share in Social Networks</br></h5> + {{ range .Site.Params.sharingOptions }} + <a class="f4 link br1 ph3 pv2 blue dib hover-bg-light-blue hover-white ba" target="new" href="{{ printf .url $.Permalink }}"> + <i class="fab {{ .icon }}"></i> + </a> + {{ end }} + </div> </footer> </div> |