From a32b776f958ceebbf5e4fc7353a8cc47dd68f090 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Mon, 7 Jun 2021 22:49:45 -0700 Subject: [PATCH] sync --- _includes/_includes/custom-head.html | 6 +++ _includes/_includes/disqus_comments.html | 20 ++++++++ _includes/_includes/footer.html | 37 ++++++++++++++ _includes/_includes/google-analytics.html | 9 ++++ _includes/_includes/head.html | 14 ++++++ _includes/_includes/header.html | 31 ++++++++++++ _includes/_includes/social.html | 21 ++++++++ _includews/custom-head.html | 6 +++ _includews/disqus_comments.html | 20 ++++++++ _includews/footer.html | 37 ++++++++++++++ _includews/google-analytics.html | 9 ++++ _includews/head.html | 14 ++++++ _includews/header.html | 31 ++++++++++++ _includews/social.html | 21 ++++++++ _layouts/_layouts/default.html | 20 ++++++++ _layouts/_layouts/home.html | 61 +++++++++++++++++++++++ _layouts/_layouts/page.html | 14 ++++++ _layouts/_layouts/post.html | 38 ++++++++++++++ assets/assets/css/style.scss | 7 +++ assets/assets/minima-social-icons.svg | 50 +++++++++++++++++++ 20 files changed, 466 insertions(+) create mode 100644 _includes/_includes/custom-head.html create mode 100644 _includes/_includes/disqus_comments.html create mode 100644 _includes/_includes/footer.html create mode 100644 _includes/_includes/google-analytics.html create mode 100644 _includes/_includes/head.html create mode 100644 _includes/_includes/header.html create mode 100644 _includes/_includes/social.html create mode 100644 _includews/custom-head.html create mode 100644 _includews/disqus_comments.html create mode 100644 _includews/footer.html create mode 100644 _includews/google-analytics.html create mode 100644 _includews/head.html create mode 100644 _includews/header.html create mode 100644 _includews/social.html create mode 100644 _layouts/_layouts/default.html create mode 100644 _layouts/_layouts/home.html create mode 100644 _layouts/_layouts/page.html create mode 100644 _layouts/_layouts/post.html create mode 100644 assets/assets/css/style.scss create mode 100644 assets/assets/minima-social-icons.svg diff --git a/_includes/_includes/custom-head.html b/_includes/_includes/custom-head.html new file mode 100644 index 0000000..8559a67 --- /dev/null +++ b/_includes/_includes/custom-head.html @@ -0,0 +1,6 @@ +{% comment %} + Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons: + + 1. Head over to https://realfavicongenerator.net/ to add your own favicons. + 2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet. +{% endcomment %} diff --git a/_includes/_includes/disqus_comments.html b/_includes/_includes/disqus_comments.html new file mode 100644 index 0000000..d9400f2 --- /dev/null +++ b/_includes/_includes/disqus_comments.html @@ -0,0 +1,20 @@ +{%- if page.comments != false and jekyll.environment == "production" -%} + +
+ + +{%- endif -%} diff --git a/_includes/_includes/footer.html b/_includes/_includes/footer.html new file mode 100644 index 0000000..707d523 --- /dev/null +++ b/_includes/_includes/footer.html @@ -0,0 +1,37 @@ + diff --git a/_includes/_includes/google-analytics.html b/_includes/_includes/google-analytics.html new file mode 100644 index 0000000..aeba1a1 --- /dev/null +++ b/_includes/_includes/google-analytics.html @@ -0,0 +1,9 @@ + + diff --git a/_includes/_includes/head.html b/_includes/_includes/head.html new file mode 100644 index 0000000..9ee139f --- /dev/null +++ b/_includes/_includes/head.html @@ -0,0 +1,14 @@ + + + + + {%- seo -%} + + {%- feed_meta -%} + {%- if jekyll.environment == 'production' and site.google_analytics -%} + {%- include google-analytics.html -%} + {%- endif -%} + + {%- include custom-head.html -%} + + diff --git a/_includes/_includes/header.html b/_includes/_includes/header.html new file mode 100644 index 0000000..ed5a382 --- /dev/null +++ b/_includes/_includes/header.html @@ -0,0 +1,31 @@ + diff --git a/_includes/_includes/social.html b/_includes/_includes/social.html new file mode 100644 index 0000000..1334fc0 --- /dev/null +++ b/_includes/_includes/social.html @@ -0,0 +1,21 @@ +{%- assign social = site.minima.social_links -%} + + diff --git a/_includews/custom-head.html b/_includews/custom-head.html new file mode 100644 index 0000000..8559a67 --- /dev/null +++ b/_includews/custom-head.html @@ -0,0 +1,6 @@ +{% comment %} + Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons: + + 1. Head over to https://realfavicongenerator.net/ to add your own favicons. + 2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet. +{% endcomment %} diff --git a/_includews/disqus_comments.html b/_includews/disqus_comments.html new file mode 100644 index 0000000..d9400f2 --- /dev/null +++ b/_includews/disqus_comments.html @@ -0,0 +1,20 @@ +{%- if page.comments != false and jekyll.environment == "production" -%} + +
+ + +{%- endif -%} diff --git a/_includews/footer.html b/_includews/footer.html new file mode 100644 index 0000000..707d523 --- /dev/null +++ b/_includews/footer.html @@ -0,0 +1,37 @@ + diff --git a/_includews/google-analytics.html b/_includews/google-analytics.html new file mode 100644 index 0000000..aeba1a1 --- /dev/null +++ b/_includews/google-analytics.html @@ -0,0 +1,9 @@ + + diff --git a/_includews/head.html b/_includews/head.html new file mode 100644 index 0000000..9ee139f --- /dev/null +++ b/_includews/head.html @@ -0,0 +1,14 @@ + + + + + {%- seo -%} + + {%- feed_meta -%} + {%- if jekyll.environment == 'production' and site.google_analytics -%} + {%- include google-analytics.html -%} + {%- endif -%} + + {%- include custom-head.html -%} + + diff --git a/_includews/header.html b/_includews/header.html new file mode 100644 index 0000000..ed5a382 --- /dev/null +++ b/_includews/header.html @@ -0,0 +1,31 @@ + diff --git a/_includews/social.html b/_includews/social.html new file mode 100644 index 0000000..1334fc0 --- /dev/null +++ b/_includews/social.html @@ -0,0 +1,21 @@ +{%- assign social = site.minima.social_links -%} + + diff --git a/_layouts/_layouts/default.html b/_layouts/_layouts/default.html new file mode 100644 index 0000000..58e141b --- /dev/null +++ b/_layouts/_layouts/default.html @@ -0,0 +1,20 @@ + + + + {%- include head.html -%} + + + + {%- include header.html -%} + +
+
+ {{ content }} +
+
+ + {%- include footer.html -%} + + + + diff --git a/_layouts/_layouts/home.html b/_layouts/_layouts/home.html new file mode 100644 index 0000000..622b5e1 --- /dev/null +++ b/_layouts/_layouts/home.html @@ -0,0 +1,61 @@ +--- +layout: default +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + + {% if site.paginate %} + {% assign posts = paginator.posts %} + {% else %} + {% assign posts = site.posts %} + {% endif %} + + + {%- if posts.size > 0 -%} + {%- if page.list_title -%} +

{{ page.list_title }}

+ {%- endif -%} + + + {% if site.paginate %} +
+ +
+ {%- endif %} + + {%- endif -%} + +
diff --git a/_layouts/_layouts/page.html b/_layouts/_layouts/page.html new file mode 100644 index 0000000..01e4b2a --- /dev/null +++ b/_layouts/_layouts/page.html @@ -0,0 +1,14 @@ +--- +layout: default +--- +
+ +
+

{{ page.title | escape }}

+
+ +
+ {{ content }} +
+ +
diff --git a/_layouts/_layouts/post.html b/_layouts/_layouts/post.html new file mode 100644 index 0000000..c9a03be --- /dev/null +++ b/_layouts/_layouts/post.html @@ -0,0 +1,38 @@ +--- +layout: default +--- +
+ +
+

{{ page.title | escape }}

+ +
+ +
+ {{ content }} +
+ + {%- if site.disqus.shortname -%} + {%- include disqus_comments.html -%} + {%- endif -%} + + +
diff --git a/assets/assets/css/style.scss b/assets/assets/css/style.scss new file mode 100644 index 0000000..0d1fce9 --- /dev/null +++ b/assets/assets/css/style.scss @@ -0,0 +1,7 @@ +--- +# Only the main Sass file needs front matter (the dashes are enough) +--- + +@import + "minima/skins/{{ site.minima.skin | default: 'classic' }}", + "minima/initialize"; diff --git a/assets/assets/minima-social-icons.svg b/assets/assets/minima-social-icons.svg new file mode 100644 index 0000000..ff02f3e --- /dev/null +++ b/assets/assets/minima-social-icons.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +