diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b44ca6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+site/
+.cache/
diff --git a/docs/hacking b/docs/hacking
index 0c2f580..4d81bfb 160000
--- a/docs/hacking
+++ b/docs/hacking
@@ -1 +1 @@
-Subproject commit 0c2f5800bd7239069b0b803265f26d50cf3cbe59
+Subproject commit 4d81bfb2cbc694cf92bedb915c8de421132ef4cc
diff --git a/docs/opsec b/docs/opsec
index 57f2407..fc024d7 160000
--- a/docs/opsec
+++ b/docs/opsec
@@ -1 +1 @@
-Subproject commit 57f24073b7eb5161fa25a2c710fa5bca4e7745f3
+Subproject commit fc024d7d8a9974a57baa782eedd500b2d0b80444
diff --git a/docs/selfhosting b/docs/selfhosting
index 9a2c099..6048646 160000
--- a/docs/selfhosting
+++ b/docs/selfhosting
@@ -1 +1 @@
-Subproject commit 9a2c0998563dcecf7ac1956c692377a27663782e
+Subproject commit 604864679ca326dfa2f168d512384c95ffe27ebe
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
index eef7d7b..c339b6f 100644
--- a/docs/stylesheets/extra.css
+++ b/docs/stylesheets/extra.css
@@ -4,4 +4,21 @@
--md-primary-fg-color--dark: #639;
}
+@media only screen and (min-width: 76.25em) {
+ .md-main__inner {
+ max-width: none;
+ }
+ .md-sidebar--primary {
+ left: 0;
+ }
+ .md-sidebar--secondary {
+ right: 0;
+ margin-left: 0;
+ -webkit-transform: none;
+ transform: none;
+ }
+}
+img {
+ max-height: 800px;
+}
diff --git a/mkdocs.yml b/mkdocs.yml
index b999b1a..1f08130 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -2,7 +2,7 @@ site_name: The Nihilism OPSEC blog
site_url: http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/
theme:
name: material
- custom_dir: docs/opsec
+ custom_dir: overrides
palette:
# Palette toggle for dark mode
@@ -561,8 +561,8 @@ plugins:
- privacy
- search
-#markdown-extensions:
-# - meta
+markdown_extensions:
+ - meta
repo_url: http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions
repo_name: nihilist/blog-contributions
diff --git a/overrides/partials/source-file.html b/overrides/partials/source-file.html
new file mode 100644
index 0000000..1de94ca
--- /dev/null
+++ b/overrides/partials/source-file.html
@@ -0,0 +1,53 @@
+
+
+
+{% if page.meta.date %}
+
+
+ {% include ".icons/material/note-edit.svg" %}
+
+ Suggest changes
+
+
+
+{% endif %}
+
+
+
+
+ {% include ".icons/material/account.svg" %}
+
+{% if page.meta.author %}
+ {{ page.meta.author }}
+{% else %}
+ Nihilist
+{% endif %}
+
+
+
+{% if page.meta.date %}
+
+
+ {% include ".icons/material/clock-edit-outline.svg" %}
+
+ {{ page.meta.date }}
+
+{% endif %}
+
+
+
+
+
+
+ {% include ".icons/material/cash.svg" %}
+
+
+
+{% if page.meta.get('xmr', '')|length == 95 %}
+ Donate to the author:
{{ page.meta.xmr[:48] }}
{{ page.meta.xmr[48:] }}
+{% else %}
+ Donate to Nihilist:
8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o
7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8
+{% endif %}
+
+
+