Compare commits

...

4 Commits

Author SHA1 Message Date
27ab89be5f
fix robots 2024-06-03 11:02:14 +03:00
3ad69d3912
Enable jekyll-seo-tag 2024-06-03 10:48:33 +03:00
d614ae2371
bundle update 2024-06-03 10:30:28 +03:00
dd0fea4a4f
update prettier, remove unused xml 2024-06-03 10:29:45 +03:00
10 changed files with 74 additions and 30 deletions

View File

@ -63,16 +63,10 @@ repos:
# - id: reuse
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.2.5"
rev: "v3.3.0"
hooks:
- id: prettier
exclude_types: [json]
additional_dependencies: [
# https://www.npmjs.com/package/prettier
"prettier@3.2.5",
# https://www.npmjs.com/package/@prettier/plugin-xml
"@prettier/plugin-xml@3.4.1",
]
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3"

View File

@ -2,5 +2,6 @@ source "https://rubygems.org"
# For now this is a GitHub Pages hosted website.
# Ref: https://github.com/Mikaela/mikaela.github.io/issues/153
gem 'github-pages', group: :jekyll_plugins
gem 'jekyll-seo-tag'
# Required for `bundle exec jekyll serve`
gem "webrick"

View File

@ -21,7 +21,7 @@ GEM
coffee-script-source (1.12.2)
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.1)
connection_pool (2.4.1)
dnsruby (1.72.1)
simpleidn (~> 0.2.1)
@ -37,7 +37,7 @@ GEM
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
ffi (1.17.0-x86_64-linux-gnu)
forwardable-extended (2.6.0)
gemoji (4.1.0)
github-pages (231)
@ -264,6 +264,7 @@ PLATFORMS
DEPENDENCIES
github-pages
jekyll-seo-tag
webrick
BUNDLED WITH

View File

@ -1,24 +1,36 @@
# Site settings
theme: minima
title: Mikaela's supybot site
#email: your-email@domain.com
title: Mikaela's Supybot site
tagline: Things official documentation may not tell you
author:
name: "Aminda Suomalainen"
url: "https://aminda.eu/"
description: > # this means to ignore newlines until "baseurl:"
Mikaela's Supybot site where nowadays the only content is security issues
of stock Supybot.
baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://supybot.mikaela.info/" # the base hostname & protocol for your site
#twitter_username: jekyllrb
github_username: Mikaela
# Custom settings
lang: en
timezone: Etc/UTC
encoding: utf-8
plugins:
- jekyll-mentions
- jemoji
# - jekyll-mentions
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-seo-tag
sitemap:
file: "/sitemap.xml"
include: [robots.txt]
robots: nofollow, noai
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,11 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!---->
{%- seo -%}
<!---->
<meta name="robots" content="{% if page.robots %}{{ page.robots }} {% else %}{{ site.robots }} {% endif %}">
<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="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>

View File

@ -3,7 +3,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;

View File

@ -1,5 +1,5 @@
{
"devDependencies": {
"prettier": "3.2.5"
"prettier": "3.3.0"
}
}

10
pnpm-lock.yaml generated
View File

@ -8,17 +8,17 @@ importers:
.:
devDependencies:
prettier:
specifier: 3.2.5
version: 3.2.5
specifier: 3.3.0
version: 3.3.0
packages:
prettier@3.2.5:
prettier@3.3.0:
resolution:
{
integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==,
integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==,
}
engines: { node: ">=14" }
hasBin: true
snapshots:
prettier@3.2.5: {}
prettier@3.3.0: {}

View File

@ -1,4 +1,7 @@
User-agent: *
Allow: /$
Allow: /*.html$
Allow: /robots.txt
Allow: /sitemap.xml
Disallow: /
Noindex: /
Sitemap: https://supybot.mikaela.info/sitemap.xml