summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-02-07 03:13:29 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-02-07 03:13:29 +0200
commit4dd863d61b2c96fe7cea21bfc2ee0d61e584969e (patch)
tree3469e4050a88a9227543185a52900c26d764ffcf /templates
parent92b61b4473c05a454bb2263a180b73f0ba89d014 (diff)
SEO changes + some other functionalities. Link Previews work now.
Changes to be committed: new file: sass/katex.css renamed: katex.min.css -> sass/katex.min.css new file: static/Alphara.png new file: static/js/clipboard.js renamed: clipboard.min.js -> static/js/clipboard.min.js new file: static/js/katex.js new file: static/js/katex.min.js modified: static/safari-pinned-tab.svg modified: templates/index.html modified: templates/page.html
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html62
-rw-r--r--templates/page.html2
2 files changed, 40 insertions, 24 deletions
diff --git a/templates/index.html b/templates/index.html
index 39f2405..2ee6be3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,47 +2,63 @@
<!DOCTYPE html>
<html lang="en-us">
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
- <meta itemprop="name" content="{{config.title}}" />
- <meta itemprop="description" content="{{config.description}}" />
-
-
+ <meta charset="UTF-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
+ <meta property="name" content="{{config.title}}"/>
+ <meta property="description" content="{{config.description}}"/>
<!--- Instructions for web scrapers --->
<meta name="robots" content="index, follow">
- <meta name="description" content="your website description">
- <meta name="keywords" content="your, keywords, here">
+ <meta name="description" content="{{config.description}}">
+ <meta name="keywords" content="blog, technology, tech, philosophy, mathematics, artifficial intelligence, programming, linux, unix, void linux">
+ <meta name="title" content="{{config.title}}">
<meta name="author" content="Iustin Râznic">
<!--- Many websites use this so it has become almost standard to include --->
- <meta property="og:site_name" content="Site Name">
- <meta name="twitter:domain" property="twitter:domain" content="example.org">
- <meta name="og:title" property="og:title" content="Site Name">
- <meta property="og:description" content="your website description">
- <meta name="twitter:description" property="twitter:description" content="your website description">
- <meta name="og:image" content="https://link-to-an-image-that-represents-your-site">
+ <meta name="og:site_name" content="Alphara's Blog">
+ <meta name="twitter:domain" property="twitter:domain" content="https://alphara.art">
+ <meta name="og:title" property="og:title" content="Alphara's Blog">
+ <meta name="og:description" content="{{config.description}}">
+ <meta name="twitter:description" property="twitter:description" content="{{config.description}}">
+ <meta name="twitter:title" content="Alphara's Blog">
+
+ <meta name="og:image" content="https://alphara.art/Alphara.png">
<!--- below is for twitter sharing previews \\ you can test this at cards-dev.twitter.com --->
- <meta property="twitter:card" content="https://link-to-an-image-that-represents-your-site">
- <meta name="twitter:image:src" property="twitter:image:src" content="https://link-to-an-image-that-represents-your-site">
- <meta name="twitter:image" property="twitter:image" content="https://link-to-an-image-that-represents-your-site">
- <meta name="og:image:alt" property="og:image:alt" content="alt text for your image">
+ <meta name="twitter:card" content="summary_large_image"/>
+ <meta name="twitter:image" property="twitter:image" content="https://alphara.art/Alphara.png">
+ <meta name="twitter:image:src" property="twitter:image:src" content="https://alphara.art/Alphara.png">
+ <meta name="twitter:image:alt" property="twitter:image:alt" content="Alphara's Blog Logo">
+ <meta name="og:image:alt" property="og:image:alt" content="Alphara's Blog Logo">
+
- <meta property="og:url" content="example.org">
- <meta property="og:type" content="website">
+
+ <meta property="og:url" content="https://alphara.art">
+ <meta property="og:type" content="blog">
<!--- If you have accounts on twitter that are relevant to your site --->
- <meta name="twitter:site" property="twitter:site" content="@yourTwitterHandle">
- <meta name="twitter:creator" property="twitter:creator" content="@yourTwitterHandle">
+ <meta name="twitter:site" property="twitter:site" content="@IustinRaznic">
+ <meta name="twitter:creator" property="twitter:creator" content="@IustinRaznic">
<link rel="apple-touch-icon" sizes="180x180" href="{{get_url(path="apple-touch-icon.png")}}"/>
<link rel="icon" type="image/png" sizes="32x32" href="{{get_url(path="favicon-32x32.png")}}"/>
<link rel="icon" type="image/png" sizes="16x16" href="{{get_url(path="favicon-16x16.png")}}"/>
+
+ <!--<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#030303">-->
+
+ <link rel="manifest" href="{{get_url(path="site.webmanifest")}}">
+ <link rel="mask-icon" href="{{get_url(path="safari-pinned-tab.svg")}}" color="#030303">
+ <meta name="msapplication-TileColor" content="#603cba">
+ <!--<meta name="theme-color" content="#ffffff"> discord fancy ruler line on the left of embeds -->
+
<link rel="shortcut icon" href="{{get_url(path="favicon.ico")}}"/>
<link rel="stylesheet" href="{{get_url(path="style.css")}}"/>
diff --git a/templates/page.html b/templates/page.html
index 86c0712..15ccebc 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -73,7 +73,7 @@
<line x1="3" y1="6" x2="3" y2="6"></line>
<line x1="3" y1="12" x2="3" y2="12"></line>
<line x1="3" y1="18" x2="3" y2="18"></line>
- </svg>
+ </svg><span> ToC</span>
</button>
{% endif %}
</div>