From 5540dc3ceb2dd4c4a173b951a9adee61cd021f33 Mon Sep 17 00:00:00 2001 From: azntaiji Date: Fri, 6 Dec 2024 17:01:21 -0800 Subject: [PATCH] test3 --- _config.yml | 12 ------- _config_theme.yml | 64 +++++++++++++++++++++++++++++++++++++ _data/menu.yml | 16 ---------- _includes/back_link.html | 1 - _includes/goat_counter.html | 6 ---- _includes/head.html | 19 ----------- _includes/menu_item.html | 26 --------------- _includes/post_list.html | 25 --------------- _layouts/archive.html | 9 ------ _layouts/default.html | 21 ------------ _layouts/home.html | 13 -------- _layouts/page.html | 9 ------ _layouts/post.html | 15 --------- about.md | 8 ----- archive.md | 4 --- assets/js/mouse_coords.js | 9 ------ example2-archive.md | 5 --- 17 files changed, 64 insertions(+), 198 deletions(-) create mode 100644 _config_theme.yml delete mode 100644 _data/menu.yml delete mode 100644 _includes/back_link.html delete mode 100644 _includes/goat_counter.html delete mode 100644 _includes/head.html delete mode 100644 _includes/menu_item.html delete mode 100644 _includes/post_list.html delete mode 100644 _layouts/archive.html delete mode 100644 _layouts/default.html delete mode 100644 _layouts/home.html delete mode 100644 _layouts/page.html delete mode 100644 _layouts/post.html delete mode 100644 about.md delete mode 100644 archive.md delete mode 100644 assets/js/mouse_coords.js delete mode 100644 example2-archive.md diff --git a/_config.yml b/_config.yml index 790e771..e1de4d0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,19 +1,7 @@ -title: zach taiji # name of the site -author: Zach Taiji # name of site's author -email: zach@azntaiji.com # email of site's author -#url: https://riggraz.dev # root address of the site baseurl: "" permalink: /:slug.html -remote_theme: riggraz/no-style-please - -theme_config: - appearance: "auto" # can be "light", "dark" or "auto" - back_home_text: ".." # customize text for homepage link in post layout - date_format: "%Y-%m-%d" # customize how date is formatted - show_description: false # show blog description in home page - sass: style: compressed diff --git a/_config_theme.yml b/_config_theme.yml new file mode 100644 index 0000000..790e771 --- /dev/null +++ b/_config_theme.yml @@ -0,0 +1,64 @@ +title: zach taiji # name of the site +author: Zach Taiji # name of site's author +email: zach@azntaiji.com # email of site's author +#url: https://riggraz.dev # root address of the site +baseurl: "" + +permalink: /:slug.html + +remote_theme: riggraz/no-style-please + +theme_config: + appearance: "auto" # can be "light", "dark" or "auto" + back_home_text: ".." # customize text for homepage link in post layout + date_format: "%Y-%m-%d" # customize how date is formatted + show_description: false # show blog description in home page + +sass: + style: compressed + +plugins: + - jekyll-feed + - jekyll-seo-tag + +# Where things are +source : . +#destination : ./_site +collections: + posts: + output : true + graphic-design: + output: true + permalink: /:collection/:path/ + +# Filtering Content +show_drafts : null +limit_posts : 0 +future : false +unpublished : false + +# Conversion +markdown : kramdown +highlighter : rouge +lsi : false +excerpt_separator : "\n\n" +incremental : false + +# Outputting +#paginate_path : /page:num +timezone : America/Los_Angeles + +quiet : false +verbose : false +defaults : [] + +# Markdown Processors +kramdown: + auto_ids : true + entity_output : as_char + toc_levels : [1, 2, 3, 4, 5, 6] + smart_quotes : lsquo,rsquo,ldquo,rdquo + input : GFM + hard_wrap : false + footnote_nr : 1 + show_warnings : false \ No newline at end of file diff --git a/_data/menu.yml b/_data/menu.yml deleted file mode 100644 index b083a7b..0000000 --- a/_data/menu.yml +++ /dev/null @@ -1,16 +0,0 @@ -# For documentation on this file, see: -# https://github.com/riggraz/no-style-please#customize-the-menu - -entries: - - title: about - url: https://github.com/azntaiji -# - title: info -# entries: -# - title: a (nearly) no-CSS, fast, minimalist Jekyll theme. -# - title: github repo -# url: https://github.com/riggraz/no-style-please -# - title: "used by riggraz.dev and many others" - - title: stories - url: graphic-design - - title: stories - url: stories \ No newline at end of file diff --git a/_includes/back_link.html b/_includes/back_link.html deleted file mode 100644 index b863ef2..0000000 --- a/_includes/back_link.html +++ /dev/null @@ -1 +0,0 @@ -{{ site.theme_config.back_home_text }} \ No newline at end of file diff --git a/_includes/goat_counter.html b/_includes/goat_counter.html deleted file mode 100644 index 8c22587..0000000 --- a/_includes/goat_counter.html +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 77daa89..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - {%- if page.title -%} - {{ page.title }} - {%- else -%} - {{ site.title }} - {%- endif -%} - - - {%-seo title=false-%} - {%-feed_meta-%} - - - - \ No newline at end of file diff --git a/_includes/menu_item.html b/_includes/menu_item.html deleted file mode 100644 index a503c61..0000000 --- a/_includes/menu_item.html +++ /dev/null @@ -1,26 +0,0 @@ - \ No newline at end of file diff --git a/_includes/post_list.html b/_includes/post_list.html deleted file mode 100644 index 9e68594..0000000 --- a/_includes/post_list.html +++ /dev/null @@ -1,25 +0,0 @@ -{%-if include.category-%} - {%-assign posts = site.categories[include.category]-%} -{%-else-%} - {%-assign posts = site.posts-%} -{%-endif-%} - -{%-if include.limit and posts.size > include.limit-%} - {%-assign limit_exceeded = true-%} -{%-else-%} - {%-assign limit_exceeded = false-%} -{%-endif-%} - -{%- if posts.size > 0 -%} - -{%- endif -%} \ No newline at end of file diff --git a/_layouts/archive.html b/_layouts/archive.html deleted file mode 100644 index 5a6db02..0000000 --- a/_layouts/archive.html +++ /dev/null @@ -1,9 +0,0 @@ ---- -layout: default ---- - -{%-include back_link.html-%} - -

{{ page.title }}

- -{%-include post_list.html category=page.which_category-%} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index fe3aaf1..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,21 +0,0 @@ - - - {%- include head.html -%} - -
-
- {{ content }} -
-
- - {%-if site.goat_counter and jekyll.environment == "production"-%} - {%-include goat_counter.html-%} - {%-endif-%} - - {% if page.custom_js %} - {% for js_file in page.custom_js %} - - {% endfor %} - {% endif %} - - \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html deleted file mode 100644 index 5e08510..0000000 --- a/_layouts/home.html +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: default ---- -
-

{{ site.title }}

- {%-if site.theme_config.show_description-%} -

{{ site.description }}

- {%-endif-%} -
- -{%-include menu_item.html collection=site.data.menu.entries-%} - -{{ content }} \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 3db2511..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,9 +0,0 @@ ---- -layout: default ---- - -{%-include back_link.html-%} - -

{{ page.title }}

- -{{ content }} \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index 421a98c..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: default ---- - -{%-include back_link.html-%} - -
- - -

{{ page.title }}

- - {{ content }} -
\ No newline at end of file diff --git a/about.md b/about.md deleted file mode 100644 index a2d26b8..0000000 --- a/about.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: page -title: About ---- - -This is an example page! - -It's very similar to a `post` layout, with the only difference that the publish date is not shown! \ No newline at end of file diff --git a/archive.md b/archive.md deleted file mode 100644 index b8b1534..0000000 --- a/archive.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: archive -title: Archive ---- \ No newline at end of file diff --git a/assets/js/mouse_coords.js b/assets/js/mouse_coords.js deleted file mode 100644 index afc7e7a..0000000 --- a/assets/js/mouse_coords.js +++ /dev/null @@ -1,9 +0,0 @@ -const p = document.createElement("p"); -p.style.textAlign = "center"; -p.style.fontSize = "18pt"; -p.innerHTML = "C'mon, move your mouse!" -document.body.append(p); - -document.addEventListener("mousemove", e => { - p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`; -}); \ No newline at end of file diff --git a/example2-archive.md b/example2-archive.md deleted file mode 100644 index fcc22fb..0000000 --- a/example2-archive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: archive -which_category: example2 -title: All posts of category 'example2' ---- \ No newline at end of file