Compare commits
No commits in common. "04577fd42db03c89eca4f87f6c83d282df686a49" and "b891d9a9b089351161161b869446ca058603014a" have entirely different histories.
04577fd42d
...
b891d9a9b0
8 changed files with 106 additions and 29 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 = false # can be set to true in individual posts as needed
|
katex = true
|
||||||
mermaid = false # can be set to true in individual posts as needed
|
mermaid = true
|
||||||
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,7 +76,6 @@ 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"},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,17 +92,3 @@ 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,5 +6,3 @@
|
||||||
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/). :)
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
+++
|
|
||||||
title = "guestbook"
|
|
||||||
|
|
||||||
[extra]
|
|
||||||
isso = true
|
|
||||||
+++
|
|
|
@ -6,4 +6,3 @@ 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/)  
|
|
||||||
|
|
25
content/lib/art_collection.md
Normal file
25
content/lib/art_collection.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
+++
|
||||||
|
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":
|
||||||
|
|
||||||
|

|
76
content/lib/places_to_eat_out.md
Normal file
76
content/lib/places_to_eat_out.md
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
+++
|
||||||
|
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,8 +84,7 @@
|
||||||
{%- 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,10 +14,11 @@
|
||||||
{%- 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