Switch to terminimal theme
This commit is contained in:
parent
402e61f645
commit
2ff295f762
10 changed files with 62 additions and 70 deletions
47
config.toml
47
config.toml
|
@ -4,49 +4,50 @@
|
||||||
# SPDX-License-Identifier: MPL-2.0
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
base_url = "/"
|
base_url = "/"
|
||||||
title = "Avery Winters"
|
title = "Avery Winters"
|
||||||
author = "Avery Winters"
|
|
||||||
description = "Avery Winters' personal site and blog."
|
description = "Avery Winters' personal site and blog."
|
||||||
default_language = "en"
|
default_language = "en"
|
||||||
theme = "zerm"
|
theme = "terminimal"
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
minify_html = false
|
minify_html = false
|
||||||
generate_feed = true
|
generate_feeds = true
|
||||||
|
feed_filenames = ["atom.xml"]
|
||||||
|
feed_limit = 20
|
||||||
|
author = "Avery Winters"
|
||||||
taxonomies = [{ name = "tags" }]
|
taxonomies = [{ name = "tags" }]
|
||||||
build_search_index = true
|
build_search_index = false
|
||||||
|
generate_sitemap = true
|
||||||
|
generate_robots_txt = true
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
highlight_theme = "gruvbox-dark"
|
highlight_theme = "nord"
|
||||||
external_links_no_follow = true
|
external_links_no_follow = true
|
||||||
external_links_no_referrer = true
|
external_links_no_referrer = true
|
||||||
smart_punctuation = false
|
smart_punctuation = false
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
|
accent_color = "blue"
|
||||||
|
background_color = "blue"
|
||||||
|
logo_text = "Avery Winters"
|
||||||
author = "Avery Winters"
|
author = "Avery Winters"
|
||||||
show_author = false
|
copyright_html = '''
|
||||||
show_categories = false
|
<span><a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a></span>
|
||||||
show_tags = true
|
<span class="copyright-theme">
|
||||||
theme_color = "blue"
|
<span class="copyright-theme-sep">:: </span>
|
||||||
show_menu_items = 7
|
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
|
||||||
full_width = false
|
|
||||||
center = true
|
|
||||||
copyright = '''
|
|
||||||
<span>
|
|
||||||
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a> :: Built with <a href="https://www.getzola.org/">Zola</a> :: Themed with <a href="https://github.com/ejmg/zerm">zerm</a>
|
|
||||||
</span>
|
</span>
|
||||||
'''
|
'''
|
||||||
logo_text = "Avery Winters"
|
menu_items = [
|
||||||
main_menu = [
|
|
||||||
{ name = "about", url = "/about/" },
|
{ name = "about", url = "/about/" },
|
||||||
|
{ name = "tags", url = "/tags/" },
|
||||||
|
{ name = "rss", url = "/atom.xml" },
|
||||||
{ name = "mastodon", url = "https://floss.social/@averywinters", external = true },
|
{ name = "mastodon", url = "https://floss.social/@averywinters", external = true },
|
||||||
{ name = "codeberg", url = "https://codeberg.org/averywinters", external = true },
|
{ name = "codeberg", url = "https://codeberg.org/averywinters", external = true },
|
||||||
{ name = "github", url = "https://github.com/averywinters", external = true },
|
{ name = "github", url = "https://github.com/averywinters", external = true },
|
||||||
{ name = "rss", url = "/atom.xml" },
|
|
||||||
{ name = "blogroll", url = "/blogroll.xml" },
|
{ name = "blogroll", url = "/blogroll.xml" },
|
||||||
{ name = "podroll", url = "/podroll.xml" }
|
{ name = "podroll", url = "/podroll.xml" }
|
||||||
]
|
]
|
||||||
menu_more = "show more"
|
enable_post_view_navigation = true
|
||||||
read_more = "read more"
|
favicon = "/img/favicon.ico"
|
||||||
read_other_posts = "read other posts"
|
favicon_mimetype = "image/x-icon"
|
||||||
enable_katex = true
|
page_titles = "combined"
|
||||||
disques = { enabled = false, short_name = "" }
|
|
||||||
|
|
|
@ -5,9 +5,10 @@ An overview of all the infrastructure and services I host, and the security \
|
||||||
mindset behind it. \
|
mindset behind it. \
|
||||||
"""
|
"""
|
||||||
date = 2023-09-14
|
date = 2023-09-14
|
||||||
updated = 2024-01-25
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tags = [ "selfhosting", "nix", "privacy", "security", "networks" ]
|
tags = [ "selfhosting", "nix", "privacy", "security", "networks" ]
|
||||||
|
[extra]
|
||||||
|
show_only_description = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
**Note: This post is out of date, but I am leaving it here for its
|
**Note: This post is out of date, but I am leaving it here for its
|
||||||
|
|
|
@ -4,9 +4,10 @@ description = """\
|
||||||
A technique to assign static public IP addresses to a remote machine using WireGuard. \
|
A technique to assign static public IP addresses to a remote machine using WireGuard. \
|
||||||
"""
|
"""
|
||||||
date = 2023-10-04
|
date = 2023-10-04
|
||||||
updated = 2024-01-15
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tags = [ "selfhosting", "nix", "privacy", "security", "networks" ]
|
tags = [ "selfhosting", "nix", "privacy", "security", "networks" ]
|
||||||
|
[extra]
|
||||||
|
show_only_description = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
**NOTE: My setup has drifted from this post, but I still find historical value in this
|
**NOTE: My setup has drifted from this post, but I still find historical value in this
|
||||||
|
|
|
@ -7,6 +7,8 @@ you host against MITM attacks. \
|
||||||
date = 2024-01-15
|
date = 2024-01-15
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tags = [ "selfhosting", "privacy", "security", "networks" ]
|
tags = [ "selfhosting", "privacy", "security", "networks" ]
|
||||||
|
[extra]
|
||||||
|
show_only_description = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
A few months ago, a Russian XMPP server had their TLS connections with users
|
A few months ago, a Russian XMPP server had their TLS connections with users
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
+++
|
+++
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
transparent = true
|
paginate_by = 10
|
||||||
paginate_by = 6
|
|
||||||
insert_anchor_links = "right"
|
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
stdenv,
|
stdenv,
|
||||||
zola,
|
zola,
|
||||||
zerm,
|
terminimal,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "averywinters.org";
|
pname = "averywinters.org";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||||
nativeBuildInputs = [zola];
|
nativeBuildInputs = [zola];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
mkdir -p themes
|
mkdir -p themes
|
||||||
ln -snf "${zerm}" "themes/zerm"
|
ln -snf "${terminimal}" "themes/terminimal"
|
||||||
'';
|
'';
|
||||||
buildPhase = "zola build";
|
buildPhase = "zola build";
|
||||||
installPhase = "cp -r public $out";
|
installPhase = "cp -r public $out";
|
||||||
|
|
41
flake.lock
41
flake.lock
|
@ -2,19 +2,16 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"devshell": {
|
"devshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": [
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711099426,
|
"lastModified": 1735644329,
|
||||||
"narHash": "sha256-HzpgM/wc3aqpnHJJ2oDqPBkNsqWbW0WfWUO8lKu8nGk=",
|
"narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "devshell",
|
"repo": "devshell",
|
||||||
"rev": "2d45b54ca4a183f2fdcf4b19c895b64fbf620ee8",
|
"rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -28,11 +25,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -43,16 +40,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712192574,
|
"lastModified": 1736867362,
|
||||||
"narHash": "sha256-LbbVOliJKTF4Zl2b9salumvdMXuQBr2kuKP5+ZwbYq4=",
|
"narHash": "sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f480f9d09e4b4cf87ee6151eba068197125714de",
|
"rev": "9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -62,7 +59,7 @@
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"zerm": "zerm"
|
"terminimal": "terminimal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
@ -80,19 +77,19 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"zerm": {
|
"terminimal": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1655175694,
|
"lastModified": 1723909769,
|
||||||
"narHash": "sha256-FhcBVJtRuQp59hI8vRnobp2vXCXbtE0l8t7EDGeXyyA=",
|
"narHash": "sha256-/9waid7Hpl7NfGXoUj4fVkM4mSJ/MJytoiIKCdxZuTI=",
|
||||||
"owner": "ejmg",
|
"owner": "pawroman",
|
||||||
"repo": "zerm",
|
"repo": "zola-theme-terminimal",
|
||||||
"rev": "c9c3524cbd0cb90f91158cd33a113da464d32e6b",
|
"rev": "7f630a4e319c089f27b6704e622b38d874406381",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ejmg",
|
"owner": "pawroman",
|
||||||
"repo": "zerm",
|
"repo": "zola-theme-terminimal",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -7,12 +7,11 @@
|
||||||
devshell = {
|
devshell = {
|
||||||
url = "github:numtide/devshell";
|
url = "github:numtide/devshell";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
|
||||||
};
|
};
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
zerm = {
|
terminimal = {
|
||||||
url = "github:ejmg/zerm";
|
url = "github:pawroman/zola-theme-terminimal";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -20,7 +19,7 @@
|
||||||
devshell,
|
devshell,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
zerm,
|
terminimal,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
(flake-utils.lib.eachDefaultSystem (system: let
|
(flake-utils.lib.eachDefaultSystem (system: let
|
||||||
|
@ -38,18 +37,18 @@
|
||||||
];
|
];
|
||||||
startupScript = ''
|
startupScript = ''
|
||||||
mkdir -p themes
|
mkdir -p themes
|
||||||
ln -snf "${zerm}" "themes/zerm"
|
ln -snf "${terminimal}" "themes/terminimal"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
pkgs.devshell.mkShell {
|
pkgs.devshell.mkShell {
|
||||||
inherit commands;
|
inherit commands;
|
||||||
devshell.startup.themes.text = startupScript;
|
devshell.startup.themes.text = startupScript;
|
||||||
};
|
};
|
||||||
packages.default = pkgs.callPackage ./default.nix {inherit zerm;};
|
packages.default = pkgs.callPackage ./default.nix {inherit terminimal;};
|
||||||
}))
|
}))
|
||||||
// {
|
// {
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
www = prev.callPackage ./default.nix {inherit zerm;};
|
www = prev.callPackage ./default.nix {inherit terminimal;};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{% extends "zerm/templates/index.html" %}
|
{% extends "terminimal/templates/index.html" %}
|
||||||
{%- block general_meta -%}
|
{% block extra_head %}
|
||||||
{{ head::general_meta() }}
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="/img/favicon-96x96.png" sizes="96x96" />
|
<link rel="icon" type="image/png" href="/img/favicon-96x96.png" sizes="96x96" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/img/favicon.svg" />
|
||||||
<link rel="shortcut icon" href="/img/favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Avery Winters" />
|
<meta name="apple-mobile-web-app-title" content="Avery Winters" />
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
|
@ -28,4 +25,4 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
{%- endblock general_meta -%}
|
{%- endblock extra_head -%}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
User-agent: *
|
|
||||||
Disallow:
|
|
||||||
Allow: /
|
|
||||||
Sitemap: {{ get_url(path="sitemap.xml") }}
|
|
Loading…
Reference in a new issue