From e68f7cf6c7fadb1bceea955a4caf40954d9b024e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 14 Feb 2024 03:38:59 +0400 Subject: Moved actual template site --- _includes/comments.html | 0 _includes/counter.html | 0 _includes/disqus.html | 16 ---------------- _includes/head.html | 42 +++++++++++++----------------------------- _includes/navbar.html | 10 ++++++++++ _includes/reading-time.html | 7 +++++++ 6 files changed, 30 insertions(+), 45 deletions(-) create mode 100644 _includes/comments.html create mode 100644 _includes/counter.html delete mode 100644 _includes/disqus.html create mode 100644 _includes/navbar.html create mode 100644 _includes/reading-time.html (limited to '_includes') diff --git a/_includes/comments.html b/_includes/comments.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/counter.html b/_includes/counter.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/disqus.html b/_includes/disqus.html deleted file mode 100644 index 4ebcc7e..0000000 --- a/_includes/disqus.html +++ /dev/null @@ -1,16 +0,0 @@ -
- diff --git a/_includes/head.html b/_includes/head.html index a97bd87..936368f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,41 +1,25 @@ - - - - - - - - {% for tag in site.data.meta %} - - {% endfor %} - - - - - - - + + + + - - + {{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }} - - - - - - + - + + + + - + \ No newline at end of file diff --git a/_includes/navbar.html b/_includes/navbar.html new file mode 100644 index 0000000..431b268 --- /dev/null +++ b/_includes/navbar.html @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/_includes/reading-time.html b/_includes/reading-time.html new file mode 100644 index 0000000..2515099 --- /dev/null +++ b/_includes/reading-time.html @@ -0,0 +1,7 @@ +{% capture words %} +{{ content | number_of_words | minus: 180 }} +{% endcapture %} + +{% unless words contains '-' %} +{{ words | plus: 150 | divided_by: 150 | append: ' min read' }} +{% endunless %} \ No newline at end of file -- cgit v1.2.3