aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-05 00:16:37 +0300
committerValentin Popov <valentin@popov.link>2024-09-05 00:16:37 +0300
commit7eff3fde5720eb23449e2f8c8ea0b8218efe4dde (patch)
treefbaedd693902c1a6d56a005b28b189ef76fe23f4 /_includes
parentecf9a15e77509d344ab4ee02ae0dbf8a116021f1 (diff)
downloadpopov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.tar.xz
popov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.zip
Initial Astro project
Diffstat (limited to '_includes')
-rw-r--r--_includes/author.html17
-rw-r--r--_includes/comments.html1
-rw-r--r--_includes/counter.html8
-rw-r--r--_includes/head.html25
-rw-r--r--_includes/navbar.html6
-rw-r--r--_includes/reading-time.html11
-rw-r--r--_includes/styles.html5
-rw-r--r--_includes/styles.scss10
8 files changed, 0 insertions, 83 deletions
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 -%}
-
-&nbsp;by&nbsp;
-
-{%- unless author.email == empty -%}
-<a href="mailto:{{- author.email | strip | url_encode -}}?subject={{- page.title | default: site.title | strip | normalize_whitespace | uri_escape -}}">{{- author.name | strip | normalize_whitespace | xml_escape -}}</a>
-{%- endunless -%}
-
-{%- if author.email == empty -%}
-{{- author.name | strip | normalize_whitespace | xml_escape -}}
-{%- endif -%}
-
-{%- endif -%}
-
-&nbsp; \ 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 @@
-<script defer src="https://giscus.app/client.js" data-repo="valentineus/valentineus.github.io" data-repo-id="R_kgDOJfmscg" data-category="Announcements" data-category-id="DIC_kwDOJfmscs4CdNE6" data-mapping="title" data-strict="1" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="transparent_dark" data-lang="en" crossorigin="anonymous"></script> \ 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 @@
-<!-- AppMetrix Web Analytics -->
-<script defer src="https://appmetrix.com/pixel/T5X0z12SoASBV8Dv"></script>
-
-<!-- GoatCounter Analytics -->
-<script defer data-goatcounter="https://analytics.popov.link/count" src="/assets/javascript/count.js"></script>
-<noscript>
- <img src="https://analytics.popov.link/count?p={{- page.url | relative_url | url_escape -}}&t={{- page.title | default: site.title | strip | normalize_whitespace | url_encode -}}" alt="pixel">
-</noscript> \ 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 @@
-<head>
- <!-- Meta tags -->
- <meta content="IE=edge" http-equiv="X-UA-Compatible">
- <meta content="text/html; charset=utf-8" http-equiv="content-type">
- <meta content="width=device-width, initial-scale=1" name="viewport">
- <meta content="index, follow" name="robots">
-
- <!-- Title / Description -->
- <meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description">
- <title>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</title>
-
- <!-- RSS -->
- <link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml">
-
- <!-- Canonical URL -->
- <link href="{{- page.url | absolute_url | url_escape | replace: 'index.html', '' -}}" rel="canonical">
-
- <!-- CSS -->
- {%- include styles.html -%}
-
- <!--[if lte IE 9]>
- <script type="text/javascript" src="{{- '/assets/javascript/html5shiv-3.7.3.min.js' | relative_url | url_escape -}}"></script>
- <script type="text/javascript" src="{{- '/assets/javascript/respond-1.4.2.min.js' | relative_url | url_escape -}}"></script>
- <![endif]-->
-</head> \ 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 @@
-<nav>
- {%- for link in site.data.navbar -%}
- <a href="{{- link.path | relative_url | url_escape -}}">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
- {%- endfor -%}
- <span><span>|</span><a href="{{- site.rss | absolute_url | url_escape -}}">RSS</a></span>
-</nav> \ 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 -%}
-
-<style>{{- styles | scssify -}}</style> \ 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