Compare commits
7 commits
b891d9a9b0
...
04577fd42d
Author | SHA1 | Date | |
---|---|---|---|
04577fd42d | |||
a9ac9eeb36 | |||
caf4588ebd | |||
dd3c8a5391 | |||
10cf9f3f1c | |||
7707fd8cef | |||
7e12062f7d |
8 changed files with 29 additions and 106 deletions
19
config.toml
19
config.toml
|
@ -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
|
||||||
|
|
|
@ -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
6
content/guestbook.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
+++
|
||||||
|
title = "guestbook"
|
||||||
|
|
||||||
|
[extra]
|
||||||
|
isso = true
|
||||||
|
+++
|
|
@ -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/)  
|
||||||
|
|
|
@ -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.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
This is how I framed it:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
This piece has a "sister" which I gifted to my father. It's called "Caribe":
|
|
||||||
|
|
||||||

|
|
|
@ -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>
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 -%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue