From 36d916e9305c1b170f3b475331a190d491489c18 Mon Sep 17 00:00:00 2001 From: andwati Date: Thu, 16 Jul 2026 16:41:56 +0300 Subject: [PATCH] update author information from "mockingspectre" to "andwati" across multiple files --- CLAUDE.md | 2 +- content/posts/file-over-app.md | 2 +- content/posts/from-c-to-machine-code/index.md | 2 +- content/posts/generate-django-secret-key.md | 2 +- content/posts/hello-world.md | 2 +- content/posts/inertia.md | 2 +- ...-postgresql-15-on-arch-manjaro-garuda-linux.md | 2 +- content/posts/integrating-netlify.md | 2 +- content/posts/javascript-exporting-modules.md | 2 +- content/posts/obsidian-sync.md | 2 +- content/posts/scriptctf2025/index.md | 2 +- .../semantic-version-and-conventional-commits.md | 2 +- content/posts/subresource-integrity.md | 2 +- content/posts/utterances-comments.md | 2 +- content/posts/vuejs-tailwind.md | 2 +- content/posts/wifi-hotspot-arch/index.md | 2 +- sass/_typography.scss | 15 +++++++++++++-- static/js/copy-code.js | 11 ++++++++--- templates/base.html | 2 +- templates/page.html | 6 +++--- templates/partials/footer.html | 4 +++- templates/partials/head.html | 2 +- zola.toml | 3 ++- 23 files changed, 47 insertions(+), 28 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0e6f582..3265123 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,7 +27,7 @@ Deployment is via Cloudflare (`wrangler.toml`, `npm run deploy` → `zola build +++ title = "..." description = "..." - author = "mockingspectre" + author = "andwati" date = YYYY-MM-DD [taxonomies] tags = ["..."] diff --git a/content/posts/file-over-app.md b/content/posts/file-over-app.md index eb5f9be..8ddf663 100644 --- a/content/posts/file-over-app.md +++ b/content/posts/file-over-app.md @@ -1,7 +1,7 @@ +++ title = "File over app" description = "Take control of your artifacts" -author = "mockingspectre" +author = "andwati" draft = true date = 2023-12-18 [taxonomies] diff --git a/content/posts/from-c-to-machine-code/index.md b/content/posts/from-c-to-machine-code/index.md index 92b092a..5452723 100644 --- a/content/posts/from-c-to-machine-code/index.md +++ b/content/posts/from-c-to-machine-code/index.md @@ -1,7 +1,7 @@ +++ title = "From C to Machine Code: What Actually Runs" description = "Before diving into how to break a program, we need to understand what the computer is actually executing" -author = "mockingspectre" +author = "andwati" date = 2026-04-08 [taxonomies] tags = ["assembly", "rev", "pwn"] diff --git a/content/posts/generate-django-secret-key.md b/content/posts/generate-django-secret-key.md index 0f34d60..dea8bac 100644 --- a/content/posts/generate-django-secret-key.md +++ b/content/posts/generate-django-secret-key.md @@ -1,7 +1,7 @@ +++ title = "Django Secret Key Tutorial" description = "Managing secrets" -author = "mockingspectre" +author = "andwati" date = 2022-11-11T15:34:14.160Z [taxonomies] tags = ["tutorial", "django", "python", ".env"] diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md index c81c3f7..d7c0dcc 100644 --- a/content/posts/hello-world.md +++ b/content/posts/hello-world.md @@ -2,7 +2,7 @@ title = "Hello World" description = "Hello world" date = 2022-11-04 -author = "mockingspectre" +author = "andwati" [taxonomies] tags = ["hugo", "blog", "go"] +++ diff --git a/content/posts/inertia.md b/content/posts/inertia.md index ad5d058..b7146c5 100644 --- a/content/posts/inertia.md +++ b/content/posts/inertia.md @@ -1,7 +1,7 @@ +++ title = "cognitive inertia" description = "inertia" -author = "mockingspectre" +author = "andwati" date = 2025-02-26 [taxonomies] tags = ["cognition"] diff --git a/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md b/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md index dd73fbb..4af087f 100644 --- a/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md +++ b/content/posts/install-postgresql-15-on-arch-manjaro-garuda-linux.md @@ -2,7 +2,7 @@ title = "Install PostgreSQL on Arch | Manjaro | Garuda Linux" description = "Getting PostgreSQL up and running on Arch Linux-based distros" date = 2023-02-16T15:34:14.160Z -author = "mockingspectre" +author = "andwati" [taxonomies] tags = ["postgresql", "archlinux", "manjaro", "garuda", "linux"] +++ diff --git a/content/posts/integrating-netlify.md b/content/posts/integrating-netlify.md index 8941cc1..181582f 100644 --- a/content/posts/integrating-netlify.md +++ b/content/posts/integrating-netlify.md @@ -2,7 +2,7 @@ title = "Integrating Netlify CMS" description = "Integrating netlify cms" date = 2022-11-24T15:34:14.160Z -author = "mockingspectre" +author = "andwati" [taxonomies] tags = ["blog", "hugo", "netlify", "netlify-cms", "github"] +++ diff --git a/content/posts/javascript-exporting-modules.md b/content/posts/javascript-exporting-modules.md index a932810..9af94ae 100644 --- a/content/posts/javascript-exporting-modules.md +++ b/content/posts/javascript-exporting-modules.md @@ -1,7 +1,7 @@ +++ title = "Export default and module.exports in Javascript" description = "Modules are the building blocks of modern JavaScript applications, allowing for the encapsulation of code into reusable components. Two primary systems govern the exportation of these modules: export default in ES6 and module.exports in CommonJS. " -author = "mockingspectre" +author = "andwati" date = 2024-01-17 [taxonomies] tags = ["javascript", "node"] diff --git a/content/posts/obsidian-sync.md b/content/posts/obsidian-sync.md index 81c5a9e..a35a519 100644 --- a/content/posts/obsidian-sync.md +++ b/content/posts/obsidian-sync.md @@ -1,7 +1,7 @@ +++ title = "Setting up Obsidian sync in Windows" description = "Syncing Obsidian in Windows with Windows Task Scheduler with git" -author = "mockingspectre" +author = "andwati" date = 2023-10-01 [taxonomies] tags = ["obsidian", "git", "sync", "windows", "cron", "task scheduler", "powershell"] diff --git a/content/posts/scriptctf2025/index.md b/content/posts/scriptctf2025/index.md index 7907a91..034c6eb 100644 --- a/content/posts/scriptctf2025/index.md +++ b/content/posts/scriptctf2025/index.md @@ -1,7 +1,7 @@ +++ title = "ScriptCTF 2025 Writeup" description = "ScriptCTF 2025 Writeup" -author = "mockingspectre" +author = "andwati" date = 2025-08-18 [taxonomies] tags = ["ctf", "rev", "web", "forensics"] diff --git a/content/posts/semantic-version-and-conventional-commits.md b/content/posts/semantic-version-and-conventional-commits.md index 58a9040..4d015d0 100644 --- a/content/posts/semantic-version-and-conventional-commits.md +++ b/content/posts/semantic-version-and-conventional-commits.md @@ -2,7 +2,7 @@ title = "Semantic Versioning(SemVer) and Conventional Commits" description = "Adopting best practices in your git and build workflows." date = 2023-01-24T15:34:14.160Z -author = "mockingspectre" +author = "andwati" [taxonomies] tags = ["git", "semver", "workflow", "conventional commits"] +++ diff --git a/content/posts/subresource-integrity.md b/content/posts/subresource-integrity.md index 0631a6e..d48a035 100644 --- a/content/posts/subresource-integrity.md +++ b/content/posts/subresource-integrity.md @@ -2,7 +2,7 @@ title = "Subresource Integrity" description = "Understanding Subresource Integrity" date = 2023-04-29 -author = "mockingspectre" +author = "andwati" [taxonomies] tags = ["subresource integrity", "csp", "cors"] +++ diff --git a/content/posts/utterances-comments.md b/content/posts/utterances-comments.md index 2b26903..fbd4dab 100644 --- a/content/posts/utterances-comments.md +++ b/content/posts/utterances-comments.md @@ -1,7 +1,7 @@ +++ title = "What say you?" description = "Adding a comment system by utterances" -author = "mockingspectre" +author = "andwati" date = 2023-08-24T15:34:14.160Z [taxonomies] tags = ["blog", "utterances"] diff --git a/content/posts/vuejs-tailwind.md b/content/posts/vuejs-tailwind.md index 4b20500..75ca0df 100644 --- a/content/posts/vuejs-tailwind.md +++ b/content/posts/vuejs-tailwind.md @@ -1,7 +1,7 @@ +++ title = "Configure Vue.js app With Tailwind CSS" description = "Tailwindcss in vuejs " -author = "mockingspectre" +author = "andwati" date = 2021-06-12 [taxonomies] tags = ["javascript", "vuejs", "tailwindcss"] diff --git a/content/posts/wifi-hotspot-arch/index.md b/content/posts/wifi-hotspot-arch/index.md index 104f5be..f6c9850 100644 --- a/content/posts/wifi-hotspot-arch/index.md +++ b/content/posts/wifi-hotspot-arch/index.md @@ -1,7 +1,7 @@ +++ title = "The One Thing Nobody Tells You About WiFi Hotspots on Arch Linux" description = "A minimal Arch install is great until NetworkManager silently fails to find a binary you didn't know you needed" -author = "mockingspectre" +author = "andwati" date = 2026-04-16 [taxonomies] tags = ["arch", "linux", "networking", "kde"] diff --git a/sass/_typography.scss b/sass/_typography.scss index b1879df..5b87514 100644 --- a/sass/_typography.scss +++ b/sass/_typography.scss @@ -40,10 +40,18 @@ p, ul, ol, figure, -blockquote { +blockquote, +pre, +table { margin-bottom: 1.5rem; } +hr { + border: none; + border-top: 1px solid var(--border-color); + margin: 2rem 0; +} + p { max-width: 65ch; // Optimal reading width text-wrap: pretty; @@ -112,8 +120,11 @@ pre { font-variant-ligatures: contextual; } -pre { +.code-block-wrapper { position: relative; +} + +pre { padding: 1.25rem; border-radius: 2px; overflow-x: auto; diff --git a/static/js/copy-code.js b/static/js/copy-code.js index 615a5a5..ed0a066 100644 --- a/static/js/copy-code.js +++ b/static/js/copy-code.js @@ -8,6 +8,13 @@ document.addEventListener('DOMContentLoaded', () => { ''; preBlocks.forEach((pre) => { + // Wrap the
 so the button can sit outside its horizontal
+    // scroll container — a child of pre would scroll along with the code.
+    const wrapper = document.createElement('div');
+    wrapper.className = 'code-block-wrapper';
+    pre.parentNode.insertBefore(wrapper, pre);
+    wrapper.appendChild(pre);
+
     // Create the copy button
     const button = document.createElement('button');
     button.innerHTML = copyIcon;
@@ -15,9 +22,7 @@ document.addEventListener('DOMContentLoaded', () => {
     button.setAttribute('aria-label', 'Copy code');
     button.setAttribute('title', 'Copy code');
 
-    // Add the button to the 
 block
-    // Assuming pre is position relative in CSS
-    pre.appendChild(button);
+    wrapper.appendChild(button);
 
     button.addEventListener('click', async () => {
       // Find the  element within the 
diff --git a/templates/base.html b/templates/base.html
index 7104889..2bf52e3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -65,7 +65,7 @@
         {
           "@type": "Person",
           "@id": "{{ config.base_url }}/#author",
-          "name": "{{ config.extra.author | default(value="mockingspectre") }}",
+          "name": "{{ config.extra.author | default(value="andwati") }}",
           "url": "{{ config.base_url }}/about/",
           "sameAs": [
             {% if config.extra.github_url %}"{{ config.extra.github_url }}"{% if config.extra.twitter_url or config.extra.youtube_url %},{% endif %}{% endif %}
diff --git a/templates/page.html b/templates/page.html
index b118649..b3c457d 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -12,7 +12,7 @@
 {% block og_extra %}
   {% if page.date %}{% endif %}
   {% if page.updated %}{% endif %}
-  
+  
   {% if page.taxonomies.tags %}
     {% for tag in page.taxonomies.tags %}
     
@@ -44,13 +44,13 @@
     "author": {
       "@type": "Person",
       "@id": "{{ config.base_url }}/#author",
-      "name": "{{ config.extra.author | default(value="mockingspectre") }}",
+      "name": "{{ config.extra.author | default(value="andwati") }}",
       "url": "{{ config.base_url }}/about/"
     },
     "publisher": {
       "@type": "Person",
       "@id": "{{ config.base_url }}/#author",
-      "name": "{{ config.extra.author | default(value="mockingspectre") }}",
+      "name": "{{ config.extra.author | default(value="andwati") }}",
       "url": "{{ config.base_url }}/about/"
     },
     "isPartOf": {
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
index fab23b1..26cf842 100644
--- a/templates/partials/footer.html
+++ b/templates/partials/footer.html
@@ -1,7 +1,9 @@