Browse Source

Added footer.html partial

master
digitalcraftsman 10 years ago
parent
commit
f4de028987
  1. 6
      layouts/index.html
  2. 3
      layouts/partials/footer.html

6
layouts/index.html

@ -83,9 +83,9 @@
<a href='/2015/javascripts-lexical-scope-hoisting-and-closures-without-mystery/'>JavaScript’s lexical scope, hoisting and closures without mystery <h2>Understanding the Javascript language mechanics</h2></a> <a href='/2015/javascripts-lexical-scope-hoisting-and-closures-without-mystery/'>JavaScript’s lexical scope, hoisting and closures without mystery <h2>Understanding the Javascript language mechanics</h2></a>
</li> </li>
</ul> </ul>
<footer id="footer">
<p class="small">© Copyright 2015 Nick Balestra</p>
</footer>
{{ partial "footer.html" . }}
</section> </section>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="{{ .Site.BaseURL }}js/main.js"></script> <script src="{{ .Site.BaseURL }}js/main.js"></script>

3
layouts/partials/footer.html

@ -0,0 +1,3 @@
<footer id="footer">
<p class="small">© Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }}</p>
</footer>
Loading…
Cancel
Save