Extracted menu footer content to separate partial file, for easy override

This commit is contained in:
Daniel Åvall 2017-02-27 15:01:50 +01:00
parent a1a967ca89
commit 61c41bf3b9
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
<p>Built with <a href="https://github.com/matcornic/hugo-theme-learn"><i class="fa fa-heart"></i></a> from <a href="http://getgrav.org">Grav</a> and <a href="http://gohugo.io/">Hugo</a></p>

View file

@ -72,7 +72,7 @@
<a class="padding" href="#" data-clear-history-toggle=""><i class="fa fa-fw fa-history"></i> Clear History</a> <a class="padding" href="#" data-clear-history-toggle=""><i class="fa fa-fw fa-history"></i> Clear History</a>
{{ end }} {{ end }}
<section id="footer"> <section id="footer">
<p>Built with <a href="https://github.com/matcornic/hugo-theme-learn"><i class="fa fa-heart"></i></a> from <a href="http://getgrav.org">Grav</a> and <a href="http://gohugo.io/">Hugo</a></p> {{ partial "menu-footer.html" . }}
</section> </section>
</div> </div>
</nav> </nav>