- Refactored themes to always load with just a single file. This avoids a round trip on each request. - Locally load font when available on the system, then try to load the woff2 file, then fall back to regular woff. - Update markup to use relative urls where it is safe. RSS feeds still use absolute URLs. - Only set og:image:(height/width) when using the standard color icon. - Fixed styles on the pagination buttons. - Added ability to switch font to Source Code Pro (useSourceCodePro). - Added yellow theme. - Added grey theme. - Bold and remove underline for active page in header. - Removed markdownify on summary. - Only display date if present.
24 lines
767 B
HTML
24 lines
767 B
HTML
<footer class="footer">
|
|
<div class="footer__inner">
|
|
{{ if $.Site.Copyright }}
|
|
<div class="copyright copyright--user">
|
|
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
|
{{ else }}
|
|
<div class="copyright">
|
|
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
|
|
{{ end }}
|
|
<span>:: Theme made by <a href="https://twitter.com/panr">panr</a></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script defer src="{{ "assets/main.js" | relURL }}"></script>
|
|
<script defer src="{{ "assets/prism.js" | relURL }}"></script>
|
|
|
|
{{ if $.Site.Params.showLanguageSelector }}
|
|
<script src="{{ "assets/languageSelector.js" | relURL }}"></script>
|
|
{{ end }}
|
|
|
|
<!-- Extended footer section-->
|
|
{{ partial "extended_footer.html" . }}
|