diff --git a/_posts/2020-06-26-progress-update.md b/_posts/2020-06-26-progress-update.md index c9824a1..396f882 100644 --- a/_posts/2020-06-26-progress-update.md +++ b/_posts/2020-06-26-progress-update.md @@ -1,8 +1,11 @@ --- -title: "Progress Update - #01" +# ⚠️ ALWAYS follow this format: "#001 - Some sweet title" +# this has to be consistent for displaying only the episode number or only the title +title: "#001 - Progress Update June" date: 2020-06-26 author: davegson custom_thumbnail_name: progress-update +progress_update: true --- *Note: not every update needs to be [a podcast]({{ site.podcast_url }}) or [a video]({{ site.video_url }}), thought I'd mix things up with a written update - [let me know]({{ site.reddit_url }}) if you like this.* diff --git a/blog/index.html b/blog/index.html index 97873a5..8d6acc9 100644 --- a/blog/index.html +++ b/blog/index.html @@ -26,11 +26,18 @@ layout: page {% else %} {% endif %} - #01 + {% if post.progress_update == true %} + #{{ post.title | slice: 2, 2 }} + {% endif %}
{{ post.date | date: "%-d. %b %Y" }} + {% if post.progress_update == true %} + {% assign title_length = post.title | size %} +

{{ post.title | slice: 7, title_length }} - #{{ post.title | slice: 2, 2 }}

+ {% else %}

{{ post.title }}

+ {% endif %}