diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-02-04 12:02:30 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-02-04 12:02:30 +0200 |
commit | 92b61b4473c05a454bb2263a180b73f0ba89d014 (patch) | |
tree | 11bcd36cdfff22d3a659d1216008e31eff10cad9 /templates/index.html | |
parent | d8f2a41eef99ee1d041b785d371dab3e8a70af88 (diff) |
Changes within the templates and bunch of other things
Changes to be committed:
new file: clipboard.min.js
modified: content/posts/typography.md
new file: katex.min.css
modified: templates/404.html
modified: templates/index.html
modified: templates/macros.html
modified: templates/page.html
modified: templates/section.html
modified: templates/tags/list.html
modified: templates/tags/single.html
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 49 |
1 files changed, 38 insertions, 11 deletions
diff --git a/templates/index.html b/templates/index.html index 01d448e..39f2405 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,5 @@ {% import "macros.html" as macros %} + <!DOCTYPE html> <html lang="en-us"> <meta charset="UTF-8" /> @@ -7,19 +8,45 @@ <meta itemprop="name" content="{{config.title}}" /> <meta itemprop="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="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"> + + <!--- 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 property="og:url" content="example.org"> + <meta property="og:type" content="website"> + + <!--- 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"> + + + <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="shortcut icon" - href="{{get_url(path="favicon.ico")}}" - /> + <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="shortcut icon" href="{{get_url(path="favicon.ico")}}"/> + <link rel="stylesheet" href="{{get_url(path="style.css")}}"/> + {% if page.title %} <title>{{page.title}}</title> {% else %} |