diff --git a/_includes/head.html b/_includes/head.html index c126b37..ec58f26 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,71 +1,51 @@ - - - {% capture title %} - {% if page.title %} - {{ page.title }} - {% else %} - Andrew Cassidy - {% endif %} - {% endcapture %} - - {% capture description %} - {% if page.description%} - {{ page.description}} - {% else %} - {{page.content | markdownify | strip_html | truncate: 100}} - {% endif %} - {% endcapture %} - - {% capture image %} - {{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}} - {% endcapture %} - - {{title}} - - - - - - - - - - - {% if page.image %} - - {% endif %} - - - - - - - {% if page.image %} - - {% endif %} - - {% if page.collection == "posts" %} - - - - - {% for tag in page.tags %} - - {% endfor %} - +{% capture title %} + {% if page.title %} + {{ page.title }} {% else %} - + Andrew Cassidy {% endif %} +{% endcapture %} - - - +{% capture description %} + {% if page.description%} + {{ page.description}} + {% else %} + {{page.content | markdownify | strip_html | truncate: 100}} + {% endif %} +{% endcapture %} - - - - +{% capture image %} + {{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}} +{% endcapture %} + +{{title}} + + + + + + + + + + +{% if page.image %} + +{% endif %} + + + + + + +{% if page.image %} + +{% endif %} + + + + + + + + \ No newline at end of file diff --git a/_layouts/collection.html b/_layouts/collection.html index 531b011..bcece1f 100644 --- a/_layouts/collection.html +++ b/_layouts/collection.html @@ -1,7 +1,10 @@ -{% include head.html %} + + {% include head.html %} + +
diff --git a/_layouts/home.html b/_layouts/home.html index 87b3717..43086ba 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,7 +1,10 @@ -{% include head.html %} + + {% include head.html %} + +
diff --git a/_layouts/page.html b/_layouts/page.html index 87b3717..43086ba 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,7 +1,10 @@ -{% include head.html %} + + {% include head.html %} + +
diff --git a/_layouts/post.html b/_layouts/post.html index 007213b..a9e3cab 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,7 +1,19 @@ -{% include head.html %} + + {% include head.html %} + + + + + {% for tag in page.tags %} + + {% endfor %} +