From 7cbcc80064e40fcd5eeb8c231451daf7d881030e Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Sun, 5 Jul 2020 19:40:21 +0200 Subject: [PATCH] post page --- _layouts/post.html | 291 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 291 insertions(+) create mode 100644 _layouts/post.html diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 00000000..08906fb6 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,291 @@ +--- +lang: en +--- + + + + +{% seo title=false %} + +{% include seo.html %} +{% include relBase.html %} + + + + + + + + + + + +
+ + + + +
+
+
+ +
+ {% include author.html %} + +
+ + {% if page.category == 'release' %} + + {% for album in site.albums %} + {% if page.album == album.slug %} + +
+
+
+

+

Paused...

+
+
+
+ +
{% assign onetracker = album.tracks | size %} + {% if onetracker > 1 %} +
+ + +
+ {% endif %} +
+
+
    + {% for track in album.tracks %} +
  • +
    +
    {{ track.common.track.no }}.
    +
    {{ track.common.title }}
    +
    {% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
    +
    +
  • + {% endfor %} +
+
+
+
+ + {% for track in album.tracks %} + +
+
{{ track.common.track.no }}.
+ +
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }}
+
+ + {% endfor %} + +
+
+
+ {{ content }} +

{{ page.credits }}

+
+
+
+
+
+
+ +
+ +
+ + +{% break %} {% endif %} {% endfor %} + +{% endif %} +{% if page.collection == 'posts' %} +
+
+
+ + +
+ + +
+ +
+

{{ site.data.translations[page.lang].post-nav}}

+
+
+
+ {% if page.previous.url and page.lang == page.previous.lang %} +

 {{page.previous.title}}

+

{{ page.previous.description }}

+ {% endif %} +
+
+ {% if page.next.url and page.lang == page.next.lang %} +

 {{page.next.title}}

+

{{ page.next.description }}

+ {% endif %} +
+
+ +
+
+ +
+
+
+{% endif %} + +{% include footer.html %} +
+{% include navigation.html %} +{% include scripts.html %} + + + + +{% include cookie-consent.html %} + + \ No newline at end of file