+
From 9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 22:33:42 -0700 Subject: Whitespace Cleanup, Fix Recent --- README.md | 8 ++ config.toml | 18 ++-- static/processed_images/199de027950a8f4800.jpg | Bin 37494 -> 0 bytes templates/404.html | 34 ++++---- templates/base.html | 111 ++++++++++++++----------- templates/categories/list.html | 14 ++-- templates/categories/single.html | 13 ++- templates/contact.html | 35 +++++--- templates/index.html | 31 ++++--- templates/macros/macros.html | 9 +- templates/macros/page.html | 8 +- templates/macros/social.html | 7 +- templates/page.html | 68 +++++++-------- templates/pages.html | 6 +- templates/posts.html | 17 ++-- templates/shortcodes/img.html | 51 ++++++------ templates/tags/list.html | 19 +++-- templates/tags/single.html | 13 ++- 18 files changed, 268 insertions(+), 194 deletions(-) delete mode 100644 static/processed_images/199de027950a8f4800.jpg diff --git a/README.md b/README.md index c9ec215..90b9cd3 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,14 @@ You can customize your configurations, templates and content for yourself. Look at the `config.toml`, `content` files, and templates files in this repo for an idea. +### Colors and Styles + +Colors and style are handled by the sass files of [abridge.css](https://github.com/jieiku/abridge.css) + +To change colors of this theme all you need to do is edit `/themes/abridge/sass/themes/_auto.scss` +then in the root of your site type `zola build` which will regenerate your site, this is similar to what zola serve does, except it does not facilitate serving the site. +This is also the way you should generate your site to serve it by a real webserver such as nginx. + ### Global Configuration There are some configuration options that you can customize in `config.toml`. diff --git a/config.toml b/config.toml index c65cdb3..7cb9809 100644 --- a/config.toml +++ b/config.toml @@ -36,9 +36,9 @@ footer_credit = true #google = "Your Google Site verification code." #bing = "Your Bing Site verification code." textlogo = 'Abridge' -sitedesc = false # This enables or disables the display of the site description below the logo. +sitedesc = false # enables or disables the display of the site description below the logo. author = "Your Name" -keywords = "Whatever, SEO, keywords, you want" +favicon = "favicon.png" banner = "banner.png" menu = [ {url = "/", name = "Home", slash = true}, @@ -54,10 +54,13 @@ menu_footer = [ {url = "/privacy/", name = "Privacy", slash = true}, {url = "/sitemap.xml", name = "Sitemap", slash = false}, ] +#copyright_start_year = 2019 # optional +#copyright_end_year = 2020 # optional, recommend leaving unset, zola build will set this to current year by default + # meta tags +keywords = "Whatever, SEO, keywords, you want" twitter = "your-user-name" - -# favicon = images/favicon.png # override default favicon +seo = true # enable or disable seo-related meta tags: opengraph, facebook, twitter # Footer social links; full options listed in macros/social.html [extra.social] @@ -69,20 +72,13 @@ element = "matrix.example.com" twitter = "your-user-name" facebook = "your-user-name" linkedin = "your-user-name" - gitlab = "your-user-name" github = "your-user-name" bitbucket = "your-user-name" python = "your-user-name" docker = "your-user-name" stack = "your-user-name" - instagram = "your-user-name" pinterest = "your-user-name" twitch = "your-user-name" youtube = "your-channel-id" - -# seo = true # enable or disable seo-related tags, defaults to true - -# start_year = 2019 # optional, copyright start year -# end_year = 2022 #optional, copyright end year, defaults to current year if unset diff --git a/static/processed_images/199de027950a8f4800.jpg b/static/processed_images/199de027950a8f4800.jpg deleted file mode 100644 index 51d50a8..0000000 Binary files a/static/processed_images/199de027950a8f4800.jpg and /dev/null differ diff --git a/templates/404.html b/templates/404.html index 23c7168..3b02be6 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,21 +1,23 @@ {% extends "base.html" %} - {# Title #} -{% block title %}
The requested page does not exist or has been moved to another address.
-Please go back to home.
+{# Page heading #} -The requested page does not exist or has been moved to another address.
+Please go back to home.
+