Enable jekyll-seo-tag

This commit is contained in:
Aminda Suomalainen 2024-06-03 10:48:33 +03:00
parent d614ae2371
commit 3ad69d3912
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 56 additions and 13 deletions

View File

@ -1,24 +1,35 @@
# Site settings
theme: minima theme: minima
title: Mikaela's supybot site title: Mikaela's Supybot site
#email: your-email@domain.com tagline: Things official documentation may not tell you
author:
name: "Aminda Suomalainen"
url: "https://aminda.eu/"
description: > # this means to ignore newlines until "baseurl:" description: > # this means to ignore newlines until "baseurl:"
Mikaela's Supybot site where nowadays the only content is security issues Mikaela's Supybot site where nowadays the only content is security issues
of stock Supybot. of stock Supybot.
baseurl: "" # the subpath of your site, e.g. /blog/ baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://supybot.mikaela.info/" # the base hostname & protocol for your site url: "https://supybot.mikaela.info/" # the base hostname & protocol for your site
#twitter_username: jekyllrb
github_username: Mikaela github_username: Mikaela
# Custom settings
lang: en lang: en
timezone: Etc/UTC timezone: Etc/UTC
encoding: utf-8 encoding: utf-8
plugins: plugins:
- jekyll-mentions # - jekyll-mentions
- jemoji
- jekyll-redirect-from - jekyll-redirect-from
- jekyll-sitemap - jekyll-sitemap
- jekyll-seo-tag
sitemap: sitemap:
file: "/sitemap.xml" file: "/sitemap.xml"
include: [robots.txt] include: [robots.txt]
icon: https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png
markdown: kramdown
kramdown:
parse_block_html: true
#webmaster_verifications:
#google:
#bing:
defaults:
- scope:
path: "*"
values:
image: https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png

32
_includes/footer.html Normal file
View File

@ -0,0 +1,32 @@
<footer class="site-footer h-card">
<data class="u-url" href="{{ "/" | relative_url }}"></data>
<div class="wrapper">
<h2 class="footer-heading">{{ site.title | escape }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li class="p-name">
<a rel="me prefetch" href="{{ site.author.url }}">{{ site.author.name }}</a><br>
{{ site.title | escape }}
</li>
{%- if site.email -%}
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
{%- endif -%}
</ul>
</div>
<div class="footer-col footer-col-2">
{%- include social.html -%}
</div>
<div class="footer-col footer-col-3">
<p>{{- site.description | escape -}}</p>
</div>
</div>
</div>
</footer>

View File

@ -2,11 +2,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!---->
{%- seo -%}
<!---->
<link rel="icon" href="https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png"> <link rel="icon" href="https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
</head> </head>

View File

@ -3,7 +3,8 @@
--- ---
@charset "utf-8"; @charset "utf-8";
$base-font-family: ui-sans-serif, "Liberation Sans", Arimo, Arial, sans-serif; $base-font-family: ui-sans-serif, system-ui, "Liberation Sans", Arimo, Arial,
sans-serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New", $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
monospace; monospace;