From b880ee9a5b066bed037a6a9201d3d586b27ca3dd Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sat, 14 Dec 2024 23:14:29 +0200 Subject: [PATCH] update @ Sat Dec 14 23:14:29 EET 2024 Signed-off-by: Ari Archer --- blog.json | 1 + content/post_critical.css | 5 +++++ scripts/blog.py | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/blog.json b/blog.json index 91e8ded..00f5215 100644 --- a/blog.json +++ b/blog.json @@ -131,6 +131,7 @@ "read-wpm": 150, "top-words": 64, "top-tags": 64, + "legal": "Legal disclaimer: The content of this blog post is my personal opinion, experience, and thoughts as an individual sharing her perspective on this topic. I am not a professional or expert in this area, and the information provided in this blog post is for general informational, educational, entertainment, and recreational purposes only. Accuracy is strived for, but no warranty is given in respect to the reliability or completeness of such content, express or implied. Your acceptance of any reliance on any part of such content from the blog is entirely at your own risk. Under no circumstances shall I, and any of my representatives be held liable for damages arising from access and use of the blog post or linked sites and sources. Furthermore, there might be some links from this blog post to other websites; I have no control over those and do not endorse their content. You are responsible for your actions and subsequent results in using this material. This disclaimer is provided as per the legal basis underlying https://ari.lt/legal and should be considered in further reference to privacy, data security, and liability. Your use of this blog post acknowledges your acceptance of the conditions, and exempts me from any liability that comes from any possible inaccuracy, incompleteness, unreliability, inconsistencies, (un)availability, or any other errors in the information provided herein.", "posts": { "install-lineageos-181-xiaomi-redmi-go-tiare": { "title": "How to install LineageOS 18.1 on Xiaomi Redmi GO (Tiare)", diff --git a/content/post_critical.css b/content/post_critical.css index a390907..ce2f27a 100644 --- a/content/post_critical.css +++ b/content/post_critical.css @@ -2,6 +2,7 @@ --qw: 2px; --qb: #ede9d3; --qf: #e6e0c8; + --lf: #d3ceba; } pre { @@ -37,3 +38,7 @@ blockquote:before { top: 13px; left: 0; } + +#legal { + color: var(--lf); +} diff --git a/scripts/blog.py b/scripts/blog.py index f38628d..71a4a7a 100755 --- a/scripts/blog.py +++ b/scripts/blog.py @@ -143,6 +143,7 @@ DEFAULT_CONFIG: dict[str, typing.Any] = { "read-wpm": 150, "top-words": 64, "top-tags": 64, + "legal": 'Legal disclaimer: The content of this blog post is my personal opinion, experience, and thoughts as an individual sharing her perspective on this topic. I am not a professional or expert in this area, and the information provided in this blog post is for general informational, educational, entertainment, and recreational purposes only. Accuracy is strived for, but no warranty is given in respect to the reliability or completeness of such content, express or implied. Your acceptance of any reliance on any part of such content from the blog is entirely at your own risk. Under no circumstances shall I, and any of my representatives be held liable for damages arising from access and use of the blog post or linked sites and sources. Furthermore, there might be some links from this blog post to other websites; I have no control over those and do not endorse their content. You are responsible for your actions and subsequent results in using this material. This disclaimer is provided as per the legal basis underlying https://ari.lt/legal and should be considered in further reference to privacy, data security, and liability. Your use of this blog post acknowledges your acceptance of the conditions, and exempts me from any liability that comes from any possible inaccuracy, incompleteness, unreliability, inconsistencies, (un)availability, or any other errors in the information provided herein.', "posts": {}, } @@ -255,7 +256,7 @@ POST_TEMPLATE: typing.Final[str] = ( -
{post_content}
+
{post_content}
""" @@ -350,6 +351,7 @@ STATS_TEMPLATE: typing.Final[str] = (
+
  • total count of blog posts : {post_count}
  • edited post count : {edited_post_count}, {edited_post_count_p:.2f}%
  • @@ -1024,6 +1026,7 @@ def build(config: dict[str, typing.Any]) -> int: path=f"{config['posts-dir']}/{slug}/", license=config["license"], email=config["email"], + legal=config["legal"], ), ) )