diff --git a/_includes/head.html b/_includes/head.html index 434649cb..2c2328dc 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,23 +1,20 @@ - - - - - - - + + + + + + - {% if page.collection %} - {% assign title = page.name %} - {% else %} - {% assign title = page.name | replace: '.md','' | capitalize %} - {% assign title = page.title | default: title %} - {% endif %} - {{ title }} - NeIC web +{% if page.collection %} + {% assign title = page.name %} +{% else %} + {% assign title = page.name | replace: '.md','' | capitalize %} + {% assign title = page.title | default: title %} +{% endif %} +{{ title }} - NeIC web - - - - - - - + + + + + diff --git a/news/index.html b/_includes/news.html similarity index 99% rename from news/index.html rename to _includes/news.html index a43ff6e1..655913f6 100644 --- a/news/index.html +++ b/_includes/news.html @@ -1,5 +1,3 @@ ---- ----
diff --git a/_layouts/master.html b/_layouts/master.html index f0775436..ade9f094 100644 --- a/_layouts/master.html +++ b/_layouts/master.html @@ -1,10 +1,10 @@ - {% include head.html %} - - + + {% include head.html %} {% include header.html %} - + + {% if page.include %} {% include {{ page.include }}.html %} {% endif %} diff --git a/news.md b/news.md new file mode 100644 index 00000000..1a4bb489 --- /dev/null +++ b/news.md @@ -0,0 +1,4 @@ +--- +layout: master +include: news +---