From 035a2731e5d3c12e21c03e8beb0bbde0391d9715 Mon Sep 17 00:00:00 2001 From: Charles Zhang Date: Fri, 13 Oct 2023 11:16:36 -0500 Subject: [PATCH] [Experimental] Add mermaid diagram render - Clean up config and useless template files --- README.md | 2 +- _config.yml | 14 +----------- _include/google-analytics.html | 9 -------- _layouts/default.html | 41 ++++++++++++++++++++++++++++++++++ _layouts/head.html | 3 --- _templates/Empty.html | 35 ----------------------------- 6 files changed, 43 insertions(+), 61 deletions(-) delete mode 100644 _include/google-analytics.html create mode 100644 _layouts/default.html delete mode 100644 _layouts/head.html delete mode 100644 _templates/Empty.html diff --git a/README.md b/README.md index 9adb066..ebd789f 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,6 @@ Procedural Generation: * 20230702: (Appearance) Change theme. * 20230801: (Appearance) Update front page; Clean up and visual formatting. * 20230823: (Organization) Add section on "Favorite Articles" -* 20231013: (Remark) Will stop updating this for trivialities. Viewers are welcome to read [commit history](https://github.com/TotalImagine-com/TotalImagine.com/commits/main) for more details. +* 20231013: (Feature, Interaction) [Integrate Giscus](https://github.com/TotalImagine-com/TotalImagine.com/commit/f5f2eb8c16ff8feeb11965c4dc0b80b65937c461). (Remark) Will stop updating this for trivialities. Viewers are welcome to read [commit history](https://github.com/TotalImagine-com/TotalImagine.com/commits/main) for more details. Copyright © 2018-2023 Charles Zhang All rights reserved. \ No newline at end of file diff --git a/_config.yml b/_config.yml index bfce64b..333646e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,14 +1,2 @@ -## Overall configuration google_analytics: G-5GZGVC93CV - -## Theme: https://github.com/pages-themes/time-machine -## More theming: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll -## Disabled as of 2023-07-02 because themes are too distracting and abuses colors. -# remote_theme: pages-themes/leap-day@v0.2.0 -title: Charles Zhang -# description: Why are you surprised and are you still training with backpropagation? - -## Plugins - Theme -## Disabled as of 2023-07-02 because themes are too distracting and abuses colors. -# plugins: -# - jekyll-remote-theme \ No newline at end of file +title: Charles Zhang \ No newline at end of file diff --git a/_include/google-analytics.html b/_include/google-analytics.html deleted file mode 100644 index 00fb382..0000000 --- a/_include/google-analytics.html +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..2eceffe --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,41 @@ + + + + + + + + {% seo %} + + {% include head-custom.html %} + + + + +
+ {% if site.title and site.title != page.title %} +

{{ site.title }}

+ {% endif %} + + {{ content }} + + {% if site.github.private != true and site.github.license %} + + {% endif %} +
+ + + + + + + diff --git a/_layouts/head.html b/_layouts/head.html deleted file mode 100644 index 8ed4447..0000000 --- a/_layouts/head.html +++ /dev/null @@ -1,3 +0,0 @@ - - {% include google-analytics.html %} - \ No newline at end of file diff --git a/_templates/Empty.html b/_templates/Empty.html deleted file mode 100644 index 1d9cb1b..0000000 --- a/_templates/Empty.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - Charles Zhang - Area Name - - - - - - - - - - - - - - - - - - \ No newline at end of file