Compare commits

...

7 commits

Author SHA1 Message Date
04577fd42d
add guestbook 2025-09-18 15:32:37 -06:00
a9ac9eeb36
turn off global options for katex and mermaid
they can be turned on for individual posts
2025-09-18 12:52:51 -06:00
caf4588ebd
remove dead content 2025-09-18 12:10:32 -06:00
dd3c8a5391
add indieweb to lib 2025-09-18 12:10:19 -06:00
10cf9f3f1c
add sitemap to footer menu 2025-09-18 12:09:58 -06:00
7707fd8cef
tabi: make external links in footer open in a new tab 2025-09-18 11:53:04 -06:00
7e12062f7d
tabi: improve logic on newtab opening for navbar
this was pretty obvious tbh
2025-09-18 11:30:25 -06:00
8 changed files with 29 additions and 106 deletions

View file

@ -52,8 +52,8 @@ toc = true
bottom_footnotes = true bottom_footnotes = true
copy_button = true copy_button = true
code_block_name_links = true code_block_name_links = true
katex = true katex = false # can be set to true in individual posts as needed
mermaid = true mermaid = false # can be set to true in individual posts as needed
show_reading_time = false show_reading_time = false
copyright = "© $CURRENT_YEAR Fabian Montero $SEPARATOR Unless otherwise noted, the content in this website is available under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) license." copyright = "© $CURRENT_YEAR Fabian Montero $SEPARATOR Unless otherwise noted, the content in this website is available under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) license."
@ -76,6 +76,7 @@ footer_menu = [
{name = "notes", url = "https://notes.posixlycorrect.com"}, {name = "notes", url = "https://notes.posixlycorrect.com"},
{name = "ebooks", url = "https://calibre.posixlycorrect.com"}, {name = "ebooks", url = "https://calibre.posixlycorrect.com"},
{name = "photos", url = "https://photos.posixlycorrect.com"}, {name = "photos", url = "https://photos.posixlycorrect.com"},
{name = "sitemap", url = "sitemap.xml"},
] ]
@ -92,3 +93,17 @@ u_key = "https://public.posixlycorrect.com/pki/A8981D346F8F4130CA16A7775517E687F
# https://webmention.io/settings # https://webmention.io/settings
enable = true enable = true
domain = "posixlycorrect.com" domain = "posixlycorrect.com"
[extra.isso]
enabled_for_all_posts = false
automatic_loading = true
endpoint_url = "http://isso.posixlycorrect.com"
page_id_is_slug = true
lang = ""
max_comments_top = "inf"
max_comments_nested = "5"
avatar = false
voting = true
page_author_hashes = ""
lazy_loading = true

View file

@ -6,3 +6,5 @@
Welcome. You have reached the root endpoint of the posixlycorrect server, my home server. Welcome. You have reached the root endpoint of the posixlycorrect server, my home server.
My name is Fabian Montero, I am a Linux Embedded Engineer. Check out my projects [here](https://git.posixlycorrect.com/fabian?tab=activity) or email me at *fabian [at] posixlycorrect [dot] com*. Get my gpg key [here](https://public.posixlycorrect.com/pki/A8981D346F8F4130CA16A7775517E687FCCE0BB9.asc). My name is Fabian Montero, I am a Linux Embedded Engineer. Check out my projects [here](https://git.posixlycorrect.com/fabian?tab=activity) or email me at *fabian [at] posixlycorrect [dot] com*. Get my gpg key [here](https://public.posixlycorrect.com/pki/A8981D346F8F4130CA16A7775517E687FCCE0BB9.asc).
Please sign my [guestbook](https://posixlycorrect.com/guestbook/). :)

6
content/guestbook.md Normal file
View file

@ -0,0 +1,6 @@
+++
title = "guestbook"
[extra]
isso = true
+++

View file

@ -6,3 +6,4 @@ title = "lib"
[visual thinking](@/lib/visual_thinking.md)   [visual thinking](@/lib/visual_thinking.md)  
[be methodical](@/lib/be_methodical.md)   [be methodical](@/lib/be_methodical.md)  
[digital gardening](https://git.posixlycorrect.com/fabian/digital-gardeners)   [digital gardening](https://git.posixlycorrect.com/fabian/digital-gardeners)  
[indieweb](https://https://indieweb.org/)  

View file

@ -1,25 +0,0 @@
+++
title = "art collection"
+++
I own a very small art collection. Here are some photos of the pieces in it and
some info about them.
# La tertulia
Screen Printing
35x45cm
2021
La Tertulia is a screen printing ("serigrafía", in spanish) by Costa Rican
artist Rafa Gutierrez.
![La Tertulia](../../art_collection/la_tertulia1.jpg)
![La Tertulia](../../art_collection/la_tertulia2.jpg)
This is how I framed it:
![La Tertulia](../../art_collection/la_tertulia3.jpg)
This piece has a "sister" which I gifted to my father. It's called "Caribe":
![Caribe](../../art_collection/caribe.jpg)

View file

@ -1,76 +0,0 @@
+++
title = "places to eat out"
+++
<ul id="randomize-list">
<li>Olive Garden</li>
<li>La Hacienda Mexicana</li>
<li>Wings on Fire</li>
<li>La 45</li>
<li>El Higuerón</li>
<li>La Casona de Laly</li>
<li>Pizza Hut</li>
<li>Spoon</li>
<li>Casa Rojas</li>
<li>Neko Sushi</li>
<li>Fitos</li>
<li>Cosí</li>
<li>La Caverna de Monto</li>
<li>Cantón</li>
<li>Ichiraku Sushi</li>
<li>Taquería Taquitos</li>
<li>95 Grados</li>
<li>Ciros</li>
<li>Family Pizza</li>
</ul>
<script>
// Function to randomize an array using the Fisher-Yates algorithm
function shuffleArray(array) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
}
return array;
}
// Get the list element by its ID
const listElement = document.getElementById('randomize-list');
// Function to randomize the list
function randomizeList() {
// Get the list items from the list element
const listItems = Array.from(listElement.getElementsByTagName('li'));
// Randomize the order of list items
const randomizedList = shuffleArray(listItems);
// Clear the existing list
listElement.innerHTML = '';
// Append the randomized list items back to the list element
randomizedList.forEach((item) => {
listElement.appendChild(item);
});
}
// Create a button element
const button = document.createElement('button');
button.textContent = 'Randomize!';
button.style.background = 'none';
button.style.border = 'none';
button.style.color = 'rgb(252, 147, 0)';
button.style.textDecoration = 'bold';
button.style.cursor = 'pointer';
button.style.padding = '5';
button.style.fontSize = '18px';
button.style.border = '1px solid rgb(252, 147, 0)';
button.style.borderRadius = '0';
button.style.fontFamily = 'Liberation Mono';
button.addEventListener('click', randomizeList);
// Insert the button before the list element
listElement.parentNode.insertBefore(button, listElement);
// Randomize the list initially
randomizeList();
</script>

View file

@ -84,7 +84,8 @@
{%- set url = get_url(path=menu.url, lang=lang, trailing_slash=trailing_slash) -%} {%- set url = get_url(path=menu.url, lang=lang, trailing_slash=trailing_slash) -%}
{%- endif -%} {%- endif -%}
<a class="nav-links no-hover-padding" href="{{ url }}"> <a class="nav-links no-hover-padding" href="{{ url }}"
{%- if menu.url is starting_with("http") -%} target="_blank" rel="noopener noreferrer"{%- endif -%}>
{{ macros_translate::translate(key=menu.name, default=menu.name, language_strings=language_strings) }} {{ macros_translate::translate(key=menu.name, default=menu.name, language_strings=language_strings) }}
</a> </a>
</li> </li>

View file

@ -14,11 +14,10 @@
{%- if menu.url is starting_with("http") -%} {%- if menu.url is starting_with("http") -%}
{%- if trailing_slash -%} {%- if trailing_slash -%}
<a class="nav-links no-hover-padding" href="{{ menu.url }}/" <a class="nav-links no-hover-padding" href="{{ menu.url }}/"
target="_blank" rel="noopener noreferrer">
{%- else -%} {%- else -%}
<a class="nav-links no-hover-padding" href="{{ menu.url }}" <a class="nav-links no-hover-padding" href="{{ menu.url }}"
target="_blank" rel="noopener noreferrer">
{%- endif -%} {%- endif -%}
target="_blank" rel="noopener noreferrer">
{%- else -%} {%- else -%}
<a class="nav-links no-hover-padding" href="{{ get_url(path=menu.url, lang=lang, trailing_slash=trailing_slash) }}"> <a class="nav-links no-hover-padding" href="{{ get_url(path=menu.url, lang=lang, trailing_slash=trailing_slash) }}">
{%- endif -%} {%- endif -%}