From 7eff3fde5720eb23449e2f8c8ea0b8218efe4dde Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 4 Sep 2024 21:16:37 +0000 Subject: Initial Astro project --- _includes/author.html | 17 ----------------- _includes/comments.html | 1 - _includes/counter.html | 8 -------- _includes/head.html | 25 ------------------------- _includes/navbar.html | 6 ------ _includes/reading-time.html | 11 ----------- _includes/styles.html | 5 ----- _includes/styles.scss | 10 ---------- 8 files changed, 83 deletions(-) delete mode 100644 _includes/author.html delete mode 100644 _includes/comments.html delete mode 100644 _includes/counter.html delete mode 100644 _includes/head.html delete mode 100644 _includes/navbar.html delete mode 100644 _includes/reading-time.html delete mode 100644 _includes/styles.html delete mode 100644 _includes/styles.scss (limited to '_includes') diff --git a/_includes/author.html b/_includes/author.html deleted file mode 100644 index b5a812d..0000000 --- a/_includes/author.html +++ /dev/null @@ -1,17 +0,0 @@ -{%- assign author = site.data.authors[page.author] -%} - -{%- if author -%} - - by  - -{%- unless author.email == empty -%} -{{- author.name | strip | normalize_whitespace | xml_escape -}} -{%- endunless -%} - -{%- if author.email == empty -%} -{{- author.name | strip | normalize_whitespace | xml_escape -}} -{%- endif -%} - -{%- endif -%} - -  \ No newline at end of file diff --git a/_includes/comments.html b/_includes/comments.html deleted file mode 100644 index 06da152..0000000 --- a/_includes/comments.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/_includes/counter.html b/_includes/counter.html deleted file mode 100644 index 545b2cd..0000000 --- a/_includes/counter.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 9f65d57..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - {{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}} - - - - - - - - - {%- include styles.html -%} - - - \ No newline at end of file diff --git a/_includes/navbar.html b/_includes/navbar.html deleted file mode 100644 index 03fa97f..0000000 --- a/_includes/navbar.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/_includes/reading-time.html b/_includes/reading-time.html deleted file mode 100644 index a867b66..0000000 --- a/_includes/reading-time.html +++ /dev/null @@ -1,11 +0,0 @@ -{%- capture words -%} -{{- content | number_of_words | minus: 180 -}} -{%- endcapture -%} - -{%- if words contains '-' -%} -{{- '1 min read' | strip | normalize_whitespace | xml_escape -}} -{%- endif -%} - -{%- unless words contains '-' -%} -{{- words | plus: 150 | divided_by: 150 | append: ' min read' | strip | normalize_whitespace | xml_escape -}} -{%- endunless -%} \ No newline at end of file diff --git a/_includes/styles.html b/_includes/styles.html deleted file mode 100644 index 6e2d31e..0000000 --- a/_includes/styles.html +++ /dev/null @@ -1,5 +0,0 @@ -{%- capture styles -%} -{%- include styles.scss -%} -{%- endcapture -%} - - \ No newline at end of file diff --git a/_includes/styles.scss b/_includes/styles.scss deleted file mode 100644 index 21ff84e..0000000 --- a/_includes/styles.scss +++ /dev/null @@ -1,10 +0,0 @@ -// Base -@import "reset"; -@import "variables"; -@import "framework"; -@import "print"; - -// Modules -@import "highlighter"; -@import "navbar"; -@import "welcome"; \ No newline at end of file -- cgit v1.2.3