From 903bb139ce945123e730abf4ea0f343ddb0b5400 Mon Sep 17 00:00:00 2001 From: emptywork <22065214+EmptyWork@users.noreply.github.com> Date: Sun, 26 Dec 2021 22:02:37 +0900 Subject: [PATCH 1/2] add: default for prototypes --- src/prototype/prototype.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/prototype/prototype.json diff --git a/src/prototype/prototype.json b/src/prototype/prototype.json new file mode 100644 index 0000000..82ee12b --- /dev/null +++ b/src/prototype/prototype.json @@ -0,0 +1,4 @@ +{ + "tags": "prototype", + "language": "en" +} \ No newline at end of file From 287381de2f438a75a821e6cc0a91ddbc44be3782 Mon Sep 17 00:00:00 2001 From: emptywork <22065214+EmptyWork@users.noreply.github.com> Date: Sun, 26 Dec 2021 22:05:07 +0900 Subject: [PATCH 2/2] Window title is overflowing on small screen. Fixes #12 --- src/_includes/article-snippet.njk | 7 +------ src/_includes/prototype-snippet.njk | 19 ++++++------------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/src/_includes/article-snippet.njk b/src/_includes/article-snippet.njk index 5b3ff31..e809fa3 100644 --- a/src/_includes/article-snippet.njk +++ b/src/_includes/article-snippet.njk @@ -1,9 +1,4 @@ -
  • +
  • {{post.data.title}}

    diff --git a/src/_includes/prototype-snippet.njk b/src/_includes/prototype-snippet.njk index 6c87dbf..01cc9fc 100644 --- a/src/_includes/prototype-snippet.njk +++ b/src/_includes/prototype-snippet.njk @@ -20,7 +20,7 @@ d="M14.472 0L21 6.52801V11.3362L18.1667 8.50284V5.18501H14.8913L14.8715 5.20484L12.0665 2.40267L14.472 0Z" /> -

    {{ post.fileSlug }}.dev

    +

    {{ post.fileSlug | truncate(12) }}.dev

    @@ -60,20 +60,13 @@

    • - Status - {% if post.data.status == 1 %} - Deploy - {% else %} - Buggy - {% endif %} + Status{% if post.data.status == 1 %} + Deploy{% else %} + Buggy{% endif %}
    • - Tags - {% for tag in post.data.tags %} - {% if tag != "prototype" %} - {{ tag }} - {% endif %} - {% endfor %} + Tags{% for tag in post.data.tags %}{% if tag != "prototype" %} + {{ tag }}{% endif %}{% endfor %}