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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -