diff --git a/Blog.html b/Blog.html index 301e0b7..519040f 100644 --- a/Blog.html +++ b/Blog.html @@ -8,25 +8,15 @@ permalink: Blog/ {% for post in site.posts %}
- +

+ {{ post.title }} - - - - - -
+ +

-
+ {% include post-info.html tags = post.tags date=post.date%}
- {% assign excerpt-text = post.content | markdownify %} - {% assign excerpt-length = excerpt-text | number_of_words %} - {{post.content | markdownify| truncate: char-count}} @@ -34,4 +24,5 @@ permalink: Blog/
+
{% endfor %} diff --git a/_includes/figure-image.html b/_includes/figure-image.html new file mode 100644 index 0000000..8752621 --- /dev/null +++ b/_includes/figure-image.html @@ -0,0 +1,30 @@ +
+ +{% assign srcs = include.src | split: ' ' %} +{% capture path %}/images/{{page.path | split: '/' | last | split: '.' | first }}{% endcapture %} + +
+{% for src in srcs %} + {% capture img %} {{path}}/{{src}} {% endcapture %} + {{ include.caption | markdownify | strip_html }} +{% endfor %} +
+ +{% if include.caption %} +
+ {{ include.caption | markdownify | remove: '

' | remove: '

' }} +
+{% endif %} + +
diff --git a/_includes/head.html b/_includes/head.html index 78e9ef2..7a685c5 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,10 @@ - - {% if page.title %} {{ page.title }} | {% endif %} Andrew Cassidy - + + + {% if page.title %} {{ page.title }} | {% endif %} Andrew Cassidy + - - - - + + + + + diff --git a/_includes/post-info.html b/_includes/post-info.html new file mode 100644 index 0000000..4e3042f --- /dev/null +++ b/_includes/post-info.html @@ -0,0 +1,21 @@ + + + + +
+
diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1b99d50..a42e376 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -6,7 +6,8 @@
  • {% include flag.html color="orange" name="Projects" url="/Projects" %}
  • {% include flag.html color="magenta" name="About" url="/About" %}
  • -