jekyll - Github pages: How to extend base layout? -
in github pages directory, have folder called _layout in have template file called base.html.
it contains nothing more than:
<p>test 1</p> {{ content }} <p>test 2</p> in each of markdown pages (test.md), @ top of file have following:
--- title: test page layout: base --- <p>test page content</p> however, when go serve website , go test.html, appears contents of test page - not place in layout defined base.html.. doing wrong? thanks!
the folder should called _layouts, s.
Comments
Post a Comment