mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-03-14 02:00:22 +01:00
.
This commit is contained in:
parent
00130ace72
commit
740dfe5749
@ -5,10 +5,9 @@ cd "${swd}/.."
|
||||
mkdir -p ./build
|
||||
cd ./build
|
||||
cp -r \
|
||||
../i18n \
|
||||
../archetypes ../content \
|
||||
../layouts ../themes \
|
||||
../config.toml ../hugo.toml \
|
||||
../hugo.toml ../i18n \
|
||||
../archetypes ../content \
|
||||
../layouts ../themes \
|
||||
./
|
||||
|
||||
sh "${swd}/Translate/Get.sh"
|
||||
|
@ -13,6 +13,6 @@ swd="$(dirname "$(realpath "$0")")"
|
||||
if [ ! -e "${swd}/Lib/Globals.sh" ]
|
||||
then swd="${swd}/.."
|
||||
fi
|
||||
eval "$(sed -e 's| = |=|g' "${swd}/../config.toml")"
|
||||
#eval "$(sed -e 's| = |=|g' "${swd}/../config.toml")"
|
||||
|
||||
Python3="$([ -n "$(which python3)" ] && echo python3 || echo python)"
|
||||
|
@ -10,15 +10,16 @@ const PostsFileDate = true; // Append dates (YYYY-MM-DD) to posts file names
|
||||
const FrontmatterNew = {
|
||||
createdon: "Date",
|
||||
updatedon: "Lastmod",
|
||||
categories: Array,
|
||||
categories: [],
|
||||
urls: ["Aliases"],
|
||||
htmltitle: false,
|
||||
};
|
||||
let Replacements = { // Format: { ReplaceWithString: [ToFindString] }
|
||||
"<h2>[:HNotesRefsHTML:]</h2>": "<h2>🏷️ Note e Riferimenti</h2>",
|
||||
'<div class="footnotes">': ['<div class="footnotes"><hr>', '<div class="footnotes">\n<hr>'],
|
||||
'"><a class="footnote-ref" href="#fn': '"><a href="#fn',
|
||||
" href=\"[staticoso:CustomPath:Assets]/": " href=\"https://sitoctt-assets.octt.eu.org/",
|
||||
" src=\"[staticoso:CustomPath:Assets]/": " src=\"https://sitoctt-assets.octt.eu.org/",
|
||||
" href=\"{{< assetsRoot >}}/": " href=\"https://sitoctt-assets.octt.eu.org/",
|
||||
" src=\"{{< assetsRoot >}}/": " src=\"https://sitoctt-assets.octt.eu.org/",
|
||||
'<div class="highlight CodeScroll">': '<div class="highlight">',
|
||||
//'<iframe src="[:YouTubeURL:]/' :'<iframe src="https://www.youtube-nocookie.com/',
|
||||
'<video src="[:YouTube360:]' :'<iframe src="https://www.youtube-nocookie.com/embed/',
|
||||
|
@ -2,11 +2,51 @@
|
||||
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh"
|
||||
cd "${swd}/.."
|
||||
|
||||
# TODO handle new capitalization of folders
|
||||
# TODO handle un-nested pages
|
||||
# TODO handle 0000- posts
|
||||
# TODO handle miscellanea
|
||||
# FUTURE: old yyyy-mm-dd to new yyyy/mm/dd
|
||||
|
||||
#cd ./build/public/it
|
||||
#find . -type f -name index.html -exec sh -c '
|
||||
#set -e
|
||||
#cp "{}" "../it.tmp/{}"
|
||||
#'
|
||||
#cd ../../..
|
||||
|
||||
#cd ./build/public
|
||||
#cp -r ./it ./it.tmp
|
||||
#cd ./it.tmp
|
||||
|
||||
cd ./build/public
|
||||
find . -type f -name index.html -exec sh -c '
|
||||
set -e
|
||||
nicepath="$(echo "{}" | rev | cut -d/ -f2- | rev)"
|
||||
niceurl="./$(echo "${nicepath}" | rev | cut -d/ -f1 | rev)/"
|
||||
sed -e "s|{URL}|${niceurl}|g" ../../redirectTemplate.html > "${nicepath}.html"
|
||||
nicename="$(echo "${nicepath}" | rev | cut -d/ -f1 | rev)"
|
||||
#extrapaths=""
|
||||
#for replace in \
|
||||
# "note Posts/Notes/Linux" \
|
||||
# "note Posts/Notes" \
|
||||
# "post Posts" \
|
||||
#; do
|
||||
# set $replace
|
||||
# newpath="$(echo "{}" | sed -e "s|/$2/|/$1/|")"
|
||||
# if [ "${newpath}" != "{}" ]
|
||||
# then extrapaths="${extrapaths} ${newpath}"
|
||||
# fi
|
||||
#done
|
||||
for path in "${nicepath}" #${extrapaths}
|
||||
do sed -e "s|{URL}|./${nicename}/|g" ../../redirectTemplate.html > "${path}.html"
|
||||
done
|
||||
#if [ "$(echo "{}" | cut -d/ -f2)" = it ]
|
||||
#then
|
||||
# destpath="$(echo "${nicepath}" | cut -d/ -f3-).html"
|
||||
# mkdir -p "${destpath}"
|
||||
# rm -rf "${destpath}"
|
||||
# sed -e "s|{URL}|/$(echo "${nicepath}" | cut -d/ -f2-)/|g" ../../redirectTemplate.html > "${destpath}"
|
||||
#fi
|
||||
' \;
|
||||
#cd ../..
|
||||
|
||||
cd "${owd}"
|
||||
|
@ -96,5 +96,5 @@ def read_from_scripts(relative_path:str):
|
||||
if __name__ == "__main__":
|
||||
globals_text = read_from_scripts('Lib/Globals.sh')
|
||||
exec(globals_text.split('#' + globals_text.splitlines()[0].split('#!')[1] + '!')[0])
|
||||
exec(read_from_scripts('../config.toml'))
|
||||
#exec(read_from_scripts('../config.toml'))
|
||||
main()
|
||||
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
class="NoABigger"
|
||||
href="<staticoso:SiteRelativeRoot>index.html#-Sorgenti-e-licenze"
|
||||
><img
|
||||
alt="CC BY-SA" width="88px" height="31px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/CC-BY-SA.svg"
|
||||
></a>
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
href="https://www.mozilla.org/it/firefox"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
><img
|
||||
title="Firefox" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Firefox/Firefox-Modern-88x31.png"
|
||||
></a>
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
href="https://www.gnu.org/home.it"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
><img
|
||||
title="Made on GNU/Linux" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Made-on-GNU-Linux-88x31.png"
|
||||
></a>
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
href="https://archive.org"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
><img
|
||||
title="Internet Archive" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Sites/InternetArchive-88x31.png"
|
||||
></a>
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
href="https://mastodon.uno/@octo"
|
||||
target="_blank" rel="noopener"
|
||||
><img
|
||||
title="Follow me on Mastodon" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Follow-me-on-Mastodon-88x31.png"
|
||||
></a>
|
@ -1,7 +0,0 @@
|
||||
<a
|
||||
href="https://www.torproject.org/it"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
><img
|
||||
title="Tor" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Tor-88x31.png"
|
||||
></a>
|
@ -1,13 +0,0 @@
|
||||
<!-- Wikipedia | https://commons.wikimedia.org/wiki/File:Wikipedia-microbar-hu.png -->
|
||||
<span><a
|
||||
title="hu:User:Boro, CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0>, via Wikimedia Commons"
|
||||
href="https://www.wikipedia.org" target="_blank" rel="noopener nofollow"
|
||||
><img
|
||||
title="Wikipedia" width="88px" height="33px"
|
||||
src="<staticoso:CustomPath:Assets>/Media/Buttons/Sites/Wikipedia/Wikipedia-88x31.png"
|
||||
></a><a
|
||||
class="YesHoverLight" style="Font-Size:Small; Margin-Left:-2em; Color:Black; Vertical-Align:Super;"
|
||||
title="hu:User:Boro, CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0>, via Wikimedia Commons"
|
||||
href="https://commons.wikimedia.org/wiki/File:Wikipedia-microbar-hu.png"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
>[s]</a></span>
|
@ -1,4 +0,0 @@
|
||||
<!-- Temporarily disabled for bad taste:
|
||||
<script src="https://hub.octt.eu.org/Assets/JS/CurrentAge.js"></script>
|
||||
<script src="[staticoso:SiteRelativeRoot]Assets/BDPayload.js"></script>
|
||||
-->
|
@ -1,34 +1,8 @@
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
|
||||
<link rel="canonical" href="<staticoso:SiteDomain>/<staticoso:PagePath>"/>
|
||||
<meta http-equiv="onion-location" content="http://sitoctt2fxjvx3lc2iqqef2aeulflprjaasv2xl4zi7sxxbmvjy5b5yd.onion/<staticoso:PagePath>"/>
|
||||
|
||||
<link rel="stylesheet" href="<staticoso:SiteRelativeRoot>Assets/Global.css"/>
|
||||
<link rel="icon" type="image/png" href="<staticoso:SiteRelativeRoot>favicon.png"/>
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Feed Atom (Blog)" href="<staticoso:SiteRelativeRoot>feed/atom.xml"/>
|
||||
<link rel="alternate" type="application/rss+xml" title="Feed RSS (Blog)" href="<staticoso:SiteRelativeRoot>feed/rss.xml"/>
|
||||
<link rel="alternate" type="application/atom+xml" title="Feed Atom (Site)" href="<staticoso:SiteRelativeRoot>feed/site.atom.xml"/>
|
||||
<link rel="alternate" type="application/rss+xml" title="Feed RSS (Site)" href="<staticoso:SiteRelativeRoot>feed/site.rss.xml"/>
|
||||
|
||||
<meta name="generator" content="staticoso"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
|
||||
<title><staticoso:PageTitle> - <staticoso:SiteName></title>
|
||||
<meta name="description" content="<staticoso:PageDescription>"/>
|
||||
<meta name="author" content="OctoSpacc"/>
|
||||
<meta property="og:title" content="<staticoso:PageTitle> - <staticoso:SiteName>"/>
|
||||
<meta property="og:description" content="<staticoso:PageDescription>"/>
|
||||
<meta property="og:image" content="<staticoso:PageImage>"/>
|
||||
<meta property="og:url" content="<staticoso:SiteDomain>/<staticoso:PagePath>"/>
|
||||
<!-- <meta name="keywords" content="[staticoso:PageKeywords]"/> -->
|
||||
<meta property="article:published_time" content="[staticoso:PageCreatedOn]"/>
|
||||
|
||||
<meta id="RawDataCssInject"/>
|
||||
|
||||
<script src="[staticoso:SiteRelativeRoot]Assets/Global.js"></script>
|
||||
<!--
|
||||
I still haven't yet prepared this lol
|
||||
[<]script src="<staticoso:SiteRelativeRoot>Assets/AVIF-Polyfill/index.js" defer="true"[>][</]script[>]
|
||||
-->
|
||||
|
@ -1,11 +0,0 @@
|
||||
<staticoso:StaticPart:Buttons/Mastodon-88x31.html>
|
||||
<span> </span>
|
||||
<staticoso:StaticPart:Buttons/GNU-Linux-88x31.html>
|
||||
<br>
|
||||
<staticoso:StaticPart:Buttons/Firefox-88x31.html>
|
||||
<span/> </span>
|
||||
<staticoso:StaticPart:Buttons/Tor-88x31.html>
|
||||
<br>
|
||||
<staticoso:StaticPart:Buttons/InternetArchive-88x31.html>
|
||||
<span> </span>
|
||||
<staticoso:StaticPart:Buttons/Wikipedia-88x31.html>
|
@ -1,13 +0,0 @@
|
||||
<div id="TopBoxLeft">
|
||||
<h3>
|
||||
<a href="<staticoso:SiteRelativeRoot>index.html">
|
||||
<strong class="twa twa-sparkles"><span>✨</span></strong><strong class="MainIdTextGradientL">sitoctt</strong><strong class="twa twa-sparkles"><span>✨</span></strong>
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div id="TopBoxRight">
|
||||
<staticoso:StaticPart:Buttons/Feed-88x31.html>
|
||||
<span> </span>
|
||||
<staticoso:StaticPart:Buttons/CreativeCommons-88x31.html>
|
||||
</div>
|
@ -1,3 +0,0 @@
|
||||
baseURL = 'https://sitoctt.octt.eu.org/'
|
||||
languageCode = 'it'
|
||||
|
@ -1,11 +0,0 @@
|
||||
// % Title = 🗂️ Raccolte
|
||||
// % HTMLTitle = <span class="twa twa-card-index-dividers twa-🗂️"><span>🗂️</span></span> Raccolte
|
||||
// % Index = Unlinked
|
||||
// % Order = 50
|
||||
// % Categories = Fritto-Misto
|
||||
|
||||
# <span class="twa twa-card-index-dividers twa-🗂️"><span>🗂️</span></span> Raccolte
|
||||
|
||||
<div>
|
||||
<staticoso:DirectoryList:Pages/Categories/>
|
||||
</div>
|
@ -1,13 +1,11 @@
|
||||
+++
|
||||
Title = "il ✨sitoctt✨ — Home"
|
||||
description = "Octt sono io... e questo è letteralmente il mio sito (uwu)."
|
||||
#cascade:
|
||||
# featured_image: '/images/gohugo-default-sample-hero-image.jpg'
|
||||
+++
|
||||
|
||||
Una volta qui era tutta campagn— ehm, volevo dire... era tutta una lista di parole ammassate alla male e peggio. Non solo non piaceva più nemmeno a me, ma non è proprio buona creanza nell'anno del Signore 2024 (e oltre), quindi...
|
||||
|
||||
Ora c'è questa lista di tutti i miei ultimissimi articoli, e pagine sfuse che ho aggiornato di recente, mentre la vecchia home è a ["Sul sitoctt"](/Sul-sitoctt/) finché non avrò riorganizzato tutto. Benvenut<!--
|
||||
Ora c'è questa lista di tutti i miei ultimissimi articoli, e pagine sfuse che ho aggiornato di recente, mentre la vecchia home è a ["Sul sitoctt"](/miscellanea/Sul-sitoctt/) finché non avrò riorganizzato tutto. Benvenut<!--
|
||||
--><span class="BlinkA">a</span><!--
|
||||
--><span class="NoDisplay">/</span><!--
|
||||
--><span class="BlinkO">o</span> nel ✨sitoctt✨!
|
||||
|
@ -1,8 +1,11 @@
|
||||
+++
|
||||
Title = "🌐️ Come e perché il sitoctt su Tor?"
|
||||
Description = "In poco tempo dall'apertura del sitoctt, ne ho creato un mirror Tor. Perché? Maggiore sicurezza, privacy per chi visita, e divertimento mio!"
|
||||
URLs = "Posts/2022-06-03-0000-Come-e-Perche-il-Sitoctt-su-Tor.html"
|
||||
Categories = [ "Blog", "Internet", "Sysadmin" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-06-03-Come-e-Perche-il-Sitoctt-su-Tor.html",
|
||||
"/Posts/2022-06-03-0000-Come-e-Perche-il-Sitoctt-su-Tor.html",
|
||||
]
|
||||
Categories = [ "Internet", "Sysadmin" ]
|
||||
Date = 2022-06-03
|
||||
Lastmod = 2022-06-29
|
||||
+++
|
@ -1,13 +1,14 @@
|
||||
+++
|
||||
Title = "📄 I documenti non devono diventare applicazioni"
|
||||
Description = "Il Web sta diventando sempre più gonfiato, lento, e rischioso. Ogni sito sta diventando una app, anche se è una cosa sbagliatissima..."
|
||||
URLs = "Posts/2022-06-14-0000-I-Documenti-Non-Devono-Diventare-Applicazioni.html"
|
||||
Categories = [ "Blog", "Internet" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-06-14-I-Documenti-Non-Devono-Diventare-Applicazioni.html",
|
||||
"/Posts/2022-06-14-0000-I-Documenti-Non-Devono-Diventare-Applicazioni.html",
|
||||
]
|
||||
Categories = [ "Internet" ]
|
||||
Date = 2022-06-14
|
||||
+++
|
||||
|
||||
# <span class="twa twa-page-facing-up twa-📄"><span>📄</span></span> I documenti non devono diventare applicazioni
|
||||
|
||||
Il Web di oggi è indiscutibilmente molto diverso da quello di 20 anni fa, e cambia sempre di più ogni anno che passa.
|
||||
Guardare i lati positivi del progresso è sempre molto facile e rassicurante, e per questo poco spesso si pensa ai lati oscuri che, in tante tante cose, ci sono. Il Web, purtroppo, è una di queste.
|
||||
|
@ -1,8 +1,11 @@
|
||||
+++
|
||||
Title = "☀️ Rasperino Solare (ed altri esperimenti andati a male)"
|
||||
Description = "Quando ho comprato un pannellino solare USB, l'ho subito messo alla prova. Il suo po' lo fa bene, ma bisogna avere pretese realistiche!"
|
||||
URLs = "Posts/2022-06-23-0000-Rasperino-Solare-ed-Altri-Esperimenti-Andati-a-Male.html"
|
||||
Categories = [ "Blog", "Rasperino", "Ecologia", "Tecnologia" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-06-23-Rasperino-Solare-ed-Altri-Esperimenti-Andati-a-Male.html",
|
||||
"/Posts/2022-06-23-0000-Rasperino-Solare-ed-Altri-Esperimenti-Andati-a-Male.html",
|
||||
]
|
||||
Categories = [ "Rasperino", "Ecologia", "Tecnologia" ]
|
||||
Date = 2022-06-23
|
||||
+++
|
||||
|
@ -1,11 +1,14 @@
|
||||
+++
|
||||
Title = "⌨️ L'idea di una tastiera fisica per smartphone fatta in casa"
|
||||
Description = "Con difficoltà ho comprato una tastiera ultra-compatta. L'idea è di costruire una cover-tastiera per il mio telefono, ma ho riscontrato intoppi!"
|
||||
URLs = "Posts/2022-07-03-0000-L-Idea-di-una-Tastiera-Fisica-per-Smartphone-Fatta-in-Casa.html"
|
||||
Categories = [ "Blog", "Tecnologia", "Mobile", "DIY" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-07-03-L-Idea-di-una-Tastiera-Fisica-per-Smartphone-Fatta-in-Casa.html",
|
||||
"/Posts/2022-07-03-0000-L-Idea-di-una-Tastiera-Fisica-per-Smartphone-Fatta-in-Casa.html",
|
||||
]
|
||||
Categories = [ "Tecnologia", "Mobile", "DIY" ]
|
||||
Date = 2022-07-03
|
||||
Lastmod = 2023-03-21
|
||||
Image = "{{< assetsRoot >}}/Media/Cover-Tastiera-mobilefun.com.avif"
|
||||
Featured_Image = "@/Media/Cover-Tastiera-mobilefun.com.avif"
|
||||
+++
|
||||
|
||||
Forse un annetto fa, un po' per curiosità e un po' perché immaginavo già che potrebbe essere stato qualcosa di comodo, ho sviluppato un marginale interesse per gli smartphone dotati di tastiere fisiche complete.
|
@ -1,8 +1,11 @@
|
||||
+++
|
||||
Title = "💻 Come ho riparato il mio portatile (con 25€)"
|
||||
Description = "Man mano che il mio portatile invecchiava, e la tastiera si rompeva sempre più, ho lentamente smesso di usarlo; fino a che, ora, l'ho sistemato!"
|
||||
URLs = "Posts/2022-07-09-0000-Come-ho-Riparato-il-mio-Portatile-con-25-Euro.html"
|
||||
Categories = [ "Blog", "Tecnologia", "DIY", "Ecologia" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-07-09-Come-ho-Riparato-il-mio-Portatile-con-25-Euro.html",
|
||||
"/Posts/2022-07-09-0000-Come-ho-Riparato-il-mio-Portatile-con-25-Euro.html",
|
||||
]
|
||||
Categories = [ "Tecnologia", "DIY", "Ecologia" ]
|
||||
Date = 2022-07-09
|
||||
+++
|
||||
|
@ -1,8 +1,10 @@
|
||||
+++
|
||||
Title = "🥸️ Come la nostra impronta digitale sociale ci frega"
|
||||
Description = "Per i motivi più vari, anche leciti, ci si può trovare a voler nascondere proprie identità passate. A volte, però, i dettagli rovinano tutto!"
|
||||
Categories = [ "Blog" ]
|
||||
Date = 2022-07-17
|
||||
Aliases = [
|
||||
"/Posts/2022-07-17-Come-la-nostra-Impronta-Digitale-Sociale-ci-Frega.html",
|
||||
]
|
||||
+++
|
||||
|
||||
Questa storia, più pratica che mai, è secondo me incredibile.
|
@ -1,11 +1,14 @@
|
||||
+++
|
||||
Title = "👾 L'emulazione NDS, Google Play, e una storia oscura"
|
||||
Description = "Quella che era nata come ricerca per un emulatore NDS che girasse, e bene, sul mio Android, ha rapidamente svelato verità ed eventi assurdi..."
|
||||
URLs = "Posts/2022-07-27-0000-Emulazione-NDS-Google-Play-e-una-Storia-Oscura.html"
|
||||
Image = "{{< assetsRoot >}}/Media/Emulazione-NDS-Android/ACWW-on-Androids.avif"
|
||||
Aliases = [
|
||||
"/Posts/2022-07-27-Emulazione-NDS-Google-Play-e-una-Storia-Oscura.html",
|
||||
"/Posts/2022-07-27-0000-Emulazione-NDS-Google-Play-e-una-Storia-Oscura.html",
|
||||
]
|
||||
Featured_Image = "@/Media/Emulazione-NDS-Android/ACWW-on-Androids.avif"
|
||||
Date = 2022-07-27
|
||||
Lastmod = 2022-07-29
|
||||
Categories = [ "Blog", "Tecnologia", "Gaming", "Mobile" ]
|
||||
Categories = [ "Tecnologia", "Gaming", "Mobile" ]
|
||||
+++
|
||||
|
||||
Il Nintendo DS. Basta, non serve dire altro; in fondo, tra _nintenditori_, ci si intende.
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
Title = "📈 sitoctt - Da 3 mesi fa ad oggi, l'inizio e i motivi"
|
||||
Description = "Dopo pochi mesi dalla nascita di sitoctt e staticoso, guardo indietro per vedere i piccoli - ma certo importanti - progressi fatti finora."
|
||||
Categories = [ "Blog", "Internet" ]
|
||||
Categories = [ "Internet" ]
|
||||
Date = 2022-08-26
|
||||
+++
|
||||
|
@ -1,7 +1,11 @@
|
||||
+++
|
||||
Title = "🎮 Storia antica del DSpacc"
|
||||
Description = "La prima console da gioco della mia vita ha fatto la guerra, poi preso polvere, e ad oggi non è che stia benissimo; ma uno scopo gliel'ho dato."
|
||||
Categories = [ "Blog", "Gaming", "Tecnologia" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-10-31-Storia-Antica-del-DSpacc.html",
|
||||
|
||||
]
|
||||
Categories = [ "Gaming", "Tecnologia" ]
|
||||
Date = 2022-10-31
|
||||
+++
|
||||
|
@ -2,9 +2,12 @@
|
||||
Title = "⚡️ Il blogging rapido con Standard Notes"
|
||||
Downsync = "/it/posts/Blogging-Rapido-con-Standard-Notes.html"
|
||||
Description = "Volendo scrivere e pubblicare di più, mi accorgo che il mio workflow mi rallentava, e nel cercare modi di blogging più rapidi, ripenso a Listed."
|
||||
Aliases = [
|
||||
"/Posts/2022-12-13-Blogging-Rapido-con-Standard-Notes.html",
|
||||
]
|
||||
Date = 2022-12-13
|
||||
Lastmod = 2022-12-16
|
||||
Categories = [ "Blog", "Tecnologia" ]
|
||||
Categories = [ "Tecnologia" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,9 +2,12 @@
|
||||
Title = "🎄 Distrazioni di Natale: l'albero Padoru"
|
||||
Date = 2022-12-17
|
||||
Downsync = "/it/posts/Distrazioni-di-Natale-Albero-Padoru.html"
|
||||
Aliases = [
|
||||
"/Posts/2022-12-17-Distrazioni-di-Natale-Albero-Padoru.html",
|
||||
]
|
||||
Description = "Tempo di Natale, di scongelare i Padoru, e metterli sull'albero. Durante questo calmo fai-da-te, però, scopro che ho la memoria corta..."
|
||||
Image = "[staticoso:CustomPath:Assets]/Media/Padoru/Padoru-Tree-Old-New-Fragments.webp"
|
||||
Categories = [ "Blog", "DIY" ]
|
||||
Featured_Image = "@/Media/Padoru/Padoru-Tree-Old-New-Fragments.webp"
|
||||
Categories = [ "DIY" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -3,8 +3,11 @@ Title = "🐕🦺 Epicyon, piattaforma del Fediverso durata 2 giorni"
|
||||
Date = 2022-12-26
|
||||
Downsync = "/it/posts/Epicyon-Piattaforma-del-Fediverso-Durata-2-Giorni.html"
|
||||
Description = "Ho provato una certa piattaforma del Fediverso. Belle promesse di semplicità e leggerezza, ma dopo soli 3 giorni ho dovuto togliere baracca!"
|
||||
Image = "[staticoso:CustomPath:Assets]/Media/Epicyon-Dec-2022/Featured-LCD.png"
|
||||
Categories = [ "Blog", "Internet" ]
|
||||
Aliases = [
|
||||
"/Posts/2022-12-26-Epicyon-Piattaforma-del-Fediverso-Durata-2-Giorni.html",
|
||||
]
|
||||
Featured_Image = "@/Media/Epicyon-Dec-2022/Featured-LCD.png"
|
||||
Categories = [ "Internet" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,8 +2,11 @@
|
||||
Title = "🤯 Quando i problemi hardware diventano mentali (maledetto Raspino)"
|
||||
Date = 2023-01-28
|
||||
Downsync = "/it/posts/Problemi-Hardware-Diventano-Mentali.html"
|
||||
Aliases = [
|
||||
"/Posts/2023-01-28-Problemi-Hardware-Diventano-Mentali.html",
|
||||
]
|
||||
Description = "Servizi che crollano decretando la fine del mio Regno Del Terrore, le giornate perse a dir mannaggia al Rasperino, e 2 mesi di peripezie..."
|
||||
Categories = [ "Blog", "Sysadmin", "Rasperino" ]
|
||||
Categories = [ "Sysadmin", "Rasperino" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -3,8 +3,11 @@ Title = "🥴 Brutta interfaccia? File tutti distrutti!"
|
||||
Date = 2023-03-18
|
||||
Lastmod = 2023-03-20
|
||||
Description = "Per fare cose di fretta, ho eliminato per errore una parte del disco del PC. Ma la colpa non è solo mia: il programma che ho usato è disegnato male."
|
||||
Downsync = "/Posts/Cattiva-Interfaccia-Partizione-Distrutta.html"
|
||||
Categories = [ "Blog", "Sysadmin" ]
|
||||
Downsync = false # "/Posts/Cattiva-Interfaccia-Partizione-Distrutta.html"
|
||||
Aliases = [
|
||||
"/Posts/2023-03-18-Cattiva-Interfaccia-Partizione-Distrutta.html",
|
||||
]
|
||||
Categories = [ "Sysadmin" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,8 +2,11 @@
|
||||
Title = "🔋 Tutto per non cambiare due pile..."
|
||||
Date = 2023-04-03
|
||||
Downsync = "/it/posts/Tutto-Per-Non-Cambiare-Due-Pile.html"
|
||||
Aliases = [
|
||||
"/Posts/2023-04-03-Tutto-Per-Non-Cambiare-Due-Pile.html",
|
||||
]
|
||||
Description = "Mi secco a cambiare le batterie del telecomando della TV che ho sulla scrivania, quindi ovvio realizzando un accrocco con graffette e cartone..."
|
||||
Categories = [ "Blog", "DIY" ]
|
||||
Categories = [ "DIY" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -3,6 +3,9 @@ Title = "🏴☠️ Che impatto avrà la nuova legge anti-pirateria italiana?
|
||||
Date = 2023-04-16
|
||||
Lastmod = 2023-04-17
|
||||
Downsync = "/it/posts/Che-Impatto-Nuova-Legge-Anti-Pirateria-Italiana.html"
|
||||
Aliases = [
|
||||
"/Posts/2023-04-16-Che-Impatto-Nuova-Legge-Anti-Pirateria-Italiana.html",
|
||||
]
|
||||
Description = "Hanno approvato in Italia una legge per un contrasto forte alla pirateria. Il fatto è che comporta rischi importanti per gli internauti."
|
||||
Categories = [ "Blog", "Internet" ]
|
||||
+++
|
@ -3,8 +3,10 @@ Title = "😭 Più che un esame, ho fatto una guerra."
|
||||
Date = 2023-05-02
|
||||
Lastmod = 2023-05-03
|
||||
Downsync = "/it/posts/Piu-Che-un-Esame-Ho-Fatto-una-Guerra.html"
|
||||
Aliases = [
|
||||
"/Posts/2023-05-02-Piu-Che-un-Esame-Ho-Fatto-una-Guerra.html",
|
||||
]
|
||||
Description = "Per colpa di gente che non sa leggere delle regole, mi sono venuti i demoni in capa mentre svolgevo un esame che doveva essere facilissimo."
|
||||
Categories = [ "Blog" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,9 +2,12 @@
|
||||
Title = "☣️ Le brutture irrisolvibili della dock di Nintendo Switch (Parte I)"
|
||||
Date = 2023-06-30
|
||||
Downsync = "/it/posts/Brutture-Irrisolvibili-della-Dock-Nintendo-Switch.html"
|
||||
Image = "https://sitoctt-assets.octt.eu.org/Media/Switch-Dock/Dock-Binned-Unsharp.webp"
|
||||
Aliases = [
|
||||
"/Posts/2023-06-30-Brutture-Irrisolvibili-della-Dock-Nintendo-Switch.html",
|
||||
]
|
||||
Featured_Image = "@/Media/Switch-Dock/Dock-Binned-Unsharp.webp"
|
||||
Description = "Possibile trovare così tanti difetti in un solo accessorio? Nintendo, da anni, con il dock del suo Switch ci dimostra di si!"
|
||||
Categories = [ "Blog", "Tecnologia", "Gaming" ]
|
||||
Categories = [ "Tecnologia", "Gaming" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,9 +2,11 @@
|
||||
Title = "🏖️ Recensione: Pipì nel Mare (Mar Tirreno)"
|
||||
Date = 2023-08-11
|
||||
Downsync = "/it/posts/Recensione-Pipi-Nel-Mar-Tirreno.html"
|
||||
Image = "https://sitoctt-assets.octt.eu.org/Media/Misc/craiyon_211338_anime_girl_in_the_ocean_looking_at_the_sunset__half_body_rem.webp"
|
||||
Aliases = [
|
||||
"/Posts/2023-08-11-Recensione-Pipi-Nel-Mar-Tirreno.html",
|
||||
]
|
||||
Featured_Image = "@/Media/Misc/craiyon_211338_anime_girl_in_the_ocean_looking_at_the_sunset__half_body_rem.webp"
|
||||
Description = "Un'azione di solito considerata come priva di rilevanza, in un attimo speciale può scoprirsi magica e impossibile da tenere per sé: tocca scrivere una recensione."
|
||||
Categories = [ "Blog" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,10 +2,12 @@
|
||||
Title = "📎 Mollette per capelli, ridotte a colla e sassolini"
|
||||
Date = 2023-09-15
|
||||
Downsync = "/it/posts/Mollette-per-Capelli-Colla-e-Sassolini.html"
|
||||
HTMLTitle = "<span class=\"twa twa-📎\"><span>📎</span></span> Mollette per capelli, ridotte a colla e sassolini"
|
||||
Image = "https://sitoctt-assets.octt.eu.org/Media/Decor/craiyon_182944_small_hair_clip_decorated_with_glitter__worn_on_head__profile_closeup_smiling__anime.webp"
|
||||
Aliases = [
|
||||
"/Posts/2023-09-15-Mollette-per-Capelli-Colla-e-Sassolini.html",
|
||||
]
|
||||
Image = "@/Media/Decor/craiyon_182944_small_hair_clip_decorated_with_glitter__worn_on_head__profile_closeup_smiling__anime.webp"
|
||||
Description = "Non tutte le mie creazioni DIY sono orripilanti. Stavolta, per fare un regalo sia a me che non, abbellisco delle mollette per capelli, nel primo modo che mi viene a mente."
|
||||
Categories = [ "Blog", "DIY" ]
|
||||
Categories = [ "DIY" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,7 +2,9 @@
|
||||
Title = "🎇 Il resocontoctt di questo 2023, almeno in termini di posting!"
|
||||
Date = 2023-12-31
|
||||
Downsync = "/it/posts/Resocontoctt-2023.html"
|
||||
Categories = [ "Blog" ]
|
||||
Aliases = [
|
||||
"/Posts/2023-12-31-Resocontoctt-2023.html",
|
||||
]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,10 +2,12 @@
|
||||
Title = "🚀 LIBERTY WINGS: un Breve RPG sulla Libertà (Recensione)"
|
||||
Date = 2024-04-07
|
||||
Downsync = "/it/posts/LIBERTY-WINGS-Breve-RPG-Liberta-Recensione.html"
|
||||
HTMLTitle = "<span class=\"twa twa-🚀\"><span>🚀</span></span> LIBERTY WINGS: un Breve RPG sulla Libertà (Recensione)"
|
||||
Image = "https://sitoctt-assets.octt.eu.org/Media/Games/LIBERTY-WINGS/COVER-ART.jpg"
|
||||
Aliases = [
|
||||
"/Posts/2024-04-07-LIBERTY-WINGS-Breve-RPG-Liberta-Recensione.html",
|
||||
]
|
||||
Featured_Image = "@/Media/Games/LIBERTY-WINGS/COVER-ART.jpg"
|
||||
Description = "Riguardo un breve gioco sulla libertà, ambientato in un futuro non troppo lontano, in cui l'umanità è schiava del regime di un'azienda."
|
||||
Categories = [ "Blog", "Gaming", "Recensioni" ]
|
||||
Categories = [ "Gaming", "Recensioni" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
@ -2,9 +2,12 @@
|
||||
Title = "📓️ Sul passaggio dai diari ai blog ai social, una riflessione"
|
||||
Date = 2024-06-22
|
||||
Downsync = "/it/posts/Diari-Blog-Social-Riflessione.html"
|
||||
Aliases = [
|
||||
"/Posts/2024-06-22-Diari-Blog-Social-Riflessione.html",
|
||||
]
|
||||
Description = "Partendo dalla proposta C2 dell'Esame di Stato 2024, racconto la mia storia e le criticità con le modernissime forme di diario personale."
|
||||
Image = "https://sitoctt-assets.octt.eu.org/Media/Decor/dall-e_ca32679b-2878-4fb1-a031-f28a3865058d.jpeg"
|
||||
Categories = [ "Blog", "Internet" ]
|
||||
Featured_Image = "@/Media/Decor/dall-e_ca32679b-2878-4fb1-a031-f28a3865058d.jpeg"
|
||||
Categories = [ "Internet" ]
|
||||
+++
|
||||
|
||||
<!-- Autogenerated by ListedDownsync.js. Do not edit (unless also set "% Downsync = False") - it would be overwritten. -->
|
3
content/it/blog/_index.md
Normal file
3
content/it/blog/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
+++
|
||||
Title = "Blog"
|
||||
+++
|
@ -1,15 +1,10 @@
|
||||
// % Title = 📒 Vecchi MicroBlog
|
||||
// % HTMLTitle = <span class="twa twa-ledger twa-📒"><span>📒</span></span> Vecchi MicroBlog
|
||||
// % Index = True
|
||||
// % URLs = MicroBlog.html Diarylog.html
|
||||
// % Categories = Blog
|
||||
+++
|
||||
Title = "📒 Vecchi MicroBlog"
|
||||
#Index = True
|
||||
#URLs = MicroBlog.html Diarylog.html
|
||||
Categories = [ "Blog" ]
|
||||
+++
|
||||
|
||||
Come annunciato nell'articolo "[🎇 Il resocontoctt di questo 2023, almeno in termini di posting!](../Posts/2023-12-31-Resocontoctt-2023.html#-Il-MicroBlog-nuovissimo-alla-fa)", il Vecchio MicroBlog è ora deprecato, e non verrà più aggiornato. Quello che segue è l'archivio dei vecchi contenuti, che rimarrà leggibile. I nuovi post verranno quindi pubblicati sul Nuovo MicroBlog unificato, raggiungibile dal menu del sito.
|
||||
|
||||
---
|
||||
|
||||
# <span class="twa twa-ledger twa-📒"><span>📒</span></span> Vecchi MicroBlog
|
||||
|
||||
_Nota: I contenuti negli archivi possono aver subito redazioni non segnalate._
|
||||
|
||||
<div><staticoso:Category:MicroBlog></div>
|
@ -8,7 +8,7 @@ Lastmod = 2024-08-25
|
||||
#Image = {{< assetsRoot >}}/RichPreview/index.png
|
||||
+++
|
||||
|
||||
Questa qui era inizialmente la pagina home del sito, ma è diventata così problematicamente lunga che... lasciamo stare, sulla [nuova home](/) c'è spiegato tutto. Qui, dunque, la classica serie di informazioni sfuse riguardo il ✨sitoctt✨ (aggiornate in base alle novità)! 😊
|
||||
Questa qui era inizialmente la pagina home del sito, ma è diventata così problematicamente lunga che... lasciamo stare, sulla [nuova home](/) c'è spiegato tutto. Qui, dunque, la classica serie di informazioni sfuse riguardo il ✨sitoctt✨ (in parte vecchie, verranno aggiornate in base alle novità)! 😊
|
||||
|
||||
<!-- Credits: https://codepen.io/jh3y/pen/WNrXqYz -->
|
||||
<div style="Position:Relative;"><br/>
|
||||
@ -158,24 +158,7 @@ A quanto pare, con GoatCounter non serve includere un avviso a schermo che distu
|
||||
|
||||
Solo i dati non-personali vengono raccolti, in forma anonima, per i soli fini di statistica generale, e non di tracciamento individuale. Il servizio non utilizza cookies, e i dati non vengono ceduti a terze parti. Per ulteriori informazioni, non posso fare altro che consigliare di leggere la <a href="https://www.goatcounter.com/help/privacy" rel="noopener" target="_blank">Privacy policy di GoatCounter</a>.
|
||||
|
||||
<br/>
|
||||
<hr/>
|
||||
<div id="RingsDiv"><span class="Center">
|
||||
|
||||
## Rings
|
||||
<p>Se dei link tra questi sotto non funzionano, vuol dire che chi amministra i ring non ha ancora accettato il mio sito negli stessi.<br/>L'attesa sta uccidendo più me che te, fidati.<br/><i>O, magari, si tratta di un problema temporaneo</i>.</p><p class="Center">
|
||||
<a href="https://fediring.net/previous?host=sitoctt.octt.eu.org"><big>←</big></a>
|
||||
<span> </span>
|
||||
<a href="https://fediring.net/"><img class="i1em" src="https://sitoctt-assets.octt.eu.org/Media/Icons/Fediverse/Fediverse_logo_proposal.svg" title="Fediverse Logo Proposal, Eukombos, CC0, Wikimedia Commons"/> Fediring</a>
|
||||
<span> </span>
|
||||
<a href="https://fediring.net/random">[<span class="twa twa-🎲">🎲</span>]</a>
|
||||
<span> </span>
|
||||
<a href="https://fediring.net/next?host=sitoctt.octt.eu.org"><big>→</big></a>
|
||||
</p>
|
||||
</div><br/>
|
||||
<hr/><small style="Float:Right; Opacity:0.7;"><i>❤️ Copying is an act of love. Please <a href="#-Prendi-tutto">copy and share</a>.</i></small>
|
||||
<style>
|
||||
#RingsDiv Img,
|
||||
.CCIcons > Img, .CCIcon {
|
||||
Display: Inline !Important;
|
||||
Max-Height: 1em !Important;
|
3
content/it/miscellanea/_index.md
Normal file
3
content/it/miscellanea/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
+++
|
||||
Title = "Miscellanea"
|
||||
+++
|
@ -1,13 +1,14 @@
|
||||
// % Categories = Note
|
||||
// % CreatedOn = 2022-09-18
|
||||
// % EditedOn = 2022-09-19
|
||||
// % Index: None
|
||||
+++
|
||||
Title = "Aggirare i DRM dei libri di scuola"
|
||||
Subtitle = "(in una maniera che probabilmente rende possibile l'operazione anche per testi non-scolastici.)"
|
||||
#Categories = [ "Note" ]
|
||||
Date = 2022-09-18
|
||||
Lastmod = 2022-09-19
|
||||
Draft = true
|
||||
+++
|
||||
|
||||
<!-- Dovrei finire di scrivere sto coso... --->
|
||||
|
||||
# Aggirare i DRM dei libri di scuola
|
||||
**(in una maniera che probabilmente rende possibile l'operazione anche per testi non-scolastici.)**
|
||||
|
||||
Eccomi nella mia ennesima piccola avventura.
|
||||
Stavolta sono alle prese con dei DRM stupidi, che potrei, come molte persone, tentare di aggirare in maniera super-studiata e perfetta.. ma, anche in questo caso, le soluzioni più semplici sono le migliori.
|
||||
|
@ -1,8 +1,8 @@
|
||||
// % Categories: Note
|
||||
// % CreatedOn: 2022-08-05
|
||||
// % Index: None
|
||||
|
||||
# Evitare di richiamare comandi per sbaglio nel terminale
|
||||
+++
|
||||
Title = "Evitare di richiamare comandi per sbaglio nel terminale"
|
||||
Date = 2022-08-05
|
||||
Draft = true
|
||||
+++
|
||||
|
||||
Lavorando nel terminale, magari allo sviluppo di programmi, mi capita spesso di richiamare per sbaglio un comando che non dovrei.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// % Categories: Note
|
||||
// % CreatedOn: 2022-08-09
|
||||
|
||||
# Controllare statistiche interessanti e sulla salute di partizioni su Linux
|
||||
+++
|
||||
Title = "Controllare statistiche interessanti e sulla salute di partizioni su Linux"
|
||||
Date = 2022-08-09
|
||||
+++
|
||||
|
||||
Le memorie di archiviazione, di qualunque categoria siano, con l'usura si degradano.
|
||||
Niente si può fare per evitare di doverle cambiare, prima o poi, dopo tanti anni. È però possibile tenere d'occhio il loro stato di salute, per poter identificare eventuali problemi.
|
||||
@ -85,4 +85,4 @@ Se ne leggono di tutti i colori online: chi dice che ogni singola cella di memor
|
||||
|
||||
Ho avuto schede come quella esaminata oggi, della capacità di 32 GB, che, a parte i quasi 2 TB scritti dall'ultima formattazione, secondo me minimo 3 TB totali in tutta la sua vita li ha visti, eppure sembra ancora a posto; e poi, ho avuto schede che hanno iniziato a dare problemi per molto meno. Sarà che quest'ultime le ho usate con file system schifosi però, come FAT32 o exFAT, e per questo si corrompevano in continuazione.
|
||||
|
||||
In conclusione: se abusiamo di schedine, è bene riuscire a controllarle, nei limiti del possibile, nel modo in cui abbiamo imparato oggi.
|
||||
In conclusione: se abusiamo di schedine, è bene riuscire a controllarle, nei limiti del possibile, nel modo in cui abbiamo imparato oggi.
|
0
content/it/note/Linux/_index.md
Normal file
0
content/it/note/Linux/_index.md
Normal file
3
content/it/note/_index.md
Normal file
3
content/it/note/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
+++
|
||||
Title = "Note"
|
||||
+++
|
@ -1,3 +0,0 @@
|
||||
+++
|
||||
Title = "Post"
|
||||
+++
|
17
hugo.toml
17
hugo.toml
@ -1,19 +1,17 @@
|
||||
title = "✨sitoctt✨"
|
||||
#baseURL = "https://sitoctt.octt.eu.org/"
|
||||
relativeURLs = true
|
||||
theme = ["hugo-notice", "ananke"]
|
||||
disablePathToLower = true
|
||||
sectionPagesMenu = "main"
|
||||
|
||||
defaultContentLanguage = "it"
|
||||
defaultContentLanguageInSubdir = true
|
||||
|
||||
[permalinks]
|
||||
[permalinks.page]
|
||||
post = "post/:year-:month-:day-:slug/"
|
||||
# posts = "Posts/:year/:month/:day/:slug/"
|
||||
# [permalinks.section]
|
||||
# post = "post/"
|
||||
# posts = "Posts/"
|
||||
blog = ":section/:year-:month-:day-:slug/"
|
||||
note = ":section/:year-:month-:day-:slug/"
|
||||
miscellanea = ":sections/:slug/"
|
||||
|
||||
[languages]
|
||||
[languages.it]
|
||||
@ -27,11 +25,6 @@ defaultContentLanguageInSubdir = true
|
||||
languageName = "English"
|
||||
weight = 2
|
||||
|
||||
#[security]
|
||||
# enableInlineShortcodes = false
|
||||
# [security.exec]
|
||||
# allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^git$', '^npx$', '^postcss$', '^tailwindcss$', '^asciidoctor$']
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.parser]
|
||||
@ -42,7 +35,7 @@ defaultContentLanguageInSubdir = true
|
||||
unsafe = true
|
||||
|
||||
[params]
|
||||
author = "OctoSpacc"
|
||||
toc = true
|
||||
show_reading_time = true
|
||||
#custom_css = [ "Global.scss", "sitoctt.scss" ]
|
||||
|
||||
|
1
layouts/partials/anchor.html
Normal file
1
layouts/partials/anchor.html
Normal file
@ -0,0 +1 @@
|
||||
<a href="{{ .Params.href }}" rel="{{ .Params.rel }}" target="{{ .Params.target }}" title="{{ .Params.title }}">{{ .Inner }}</a>
|
1
layouts/partials/assetsRoot.html
Normal file
1
layouts/partials/assetsRoot.html
Normal file
@ -0,0 +1 @@
|
||||
{{- "https://sitoctt-assets.octt.eu.org" -}}
|
62
layouts/partials/footer-buttons.html
Normal file
62
layouts/partials/footer-buttons.html
Normal file
@ -0,0 +1,62 @@
|
||||
<div>
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "CC BY-SA"
|
||||
"srcRelative" "CC-BY-SA.svg"
|
||||
"href" "https://creativecommons.org/licenses/by-sa/4.0/deed.it?ref=chooser-v1&title=%E2%9C%A8sitoctt%E2%9C%A8&href=https://sitoctt.octt.eu.org&creator=OctoSpacc") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "✨sitoctt"
|
||||
"srcRelative" "Sites/sitoctt-1.png") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Bandiera Octt"
|
||||
"srcRelative" "Octt-Flag-88x31.png") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Follow me on Mastodon"
|
||||
"srcRelative" "Follow-me-on-Mastodon-88x31.png"
|
||||
"href" "https://mastodon.uno/@octo"
|
||||
"rel" "me") }}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<!-- Fonte: https://astral.town | Licenza: Sconosciuta -->
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Occhi blink blink"
|
||||
"src" (printf "%s/Media/Blink-0.gif" (partial "assetsRoot.html"))) }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Firefox"
|
||||
"srcRelative" "Firefox/Firefox-Modern-88x31.png"
|
||||
"href" "https://www.mozilla.org/it/firefox"
|
||||
"rel" "nofollow") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "The Onion Router"
|
||||
"srcRelative" "Tor-88x31.png"
|
||||
"href" "https://www.torproject.org/it"
|
||||
"rel" "nofollow") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Internet Archive"
|
||||
"srcRelative" "Sites/InternetArchive-88x31.png"
|
||||
"href" "https://archive.org"
|
||||
"rel" "nofollow") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Wikipedia"
|
||||
"srcRelative" "Sites/Wikipedia/Wikipedia-88x31.png"
|
||||
"href" "https://www.wikipedia.org"
|
||||
"rel" "nofollow"
|
||||
"title" "hu:User:Boro, CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0>, via Wikimedia Commons"
|
||||
"hrefLinkback" "https://commons.wikimedia.org/wiki/File:Wikipedia-microbar-hu.png") }}
|
||||
|
||||
{{ partial "imgButton.html" (dict
|
||||
"alt" "Made on GNU/Linux"
|
||||
"srcRelative" "Made-on-GNU-Linux-88x31.png"
|
||||
"href" "https://www.gnu.org/home.it"
|
||||
"rel" "nofollow") }}
|
||||
|
||||
</div>
|
16
layouts/partials/imgButton.html
Normal file
16
layouts/partials/imgButton.html
Normal file
@ -0,0 +1,16 @@
|
||||
{{ $alt := (or (and .alt (printf "[%s]" .alt)) "") }}
|
||||
{{ $img := (printf `<img src="%s" alt="%s" title="%s" width="88px" height="31px" />`
|
||||
(or .src (printf `%s/Media/Buttons/%s`
|
||||
(partial "assetsRoot.html")
|
||||
.srcRelative))
|
||||
$alt $alt) | safeHTML }}
|
||||
{{ if .href }}
|
||||
<!-- {{ if not .target }}
|
||||
{{ .Scratch.Set "target" "_blank" }}
|
||||
{{ end }} -->
|
||||
{{ partial "anchor.html" (dict
|
||||
"Inner" $img
|
||||
"Params" .) }}
|
||||
{{ else }}
|
||||
{{ $img }}
|
||||
{{ end }}
|
2
layouts/shortcodes/anchor.html
Normal file
2
layouts/shortcodes/anchor.html
Normal file
@ -0,0 +1,2 @@
|
||||
{{- $raw := .Inner -}}
|
||||
{{- partial "anchor" . -}}
|
@ -1 +1 @@
|
||||
https://sitoctt-assets.octt.eu.org
|
||||
{{ partial "assetsRoot.html" }}
|
||||
|
@ -14,7 +14,7 @@ other = "read more"
|
||||
other = "By"
|
||||
|
||||
[whatsInThis]
|
||||
other = "What's in this {{ .Type }}"
|
||||
other = "What's in here"
|
||||
|
||||
[related]
|
||||
other = "Related"
|
||||
|
@ -14,7 +14,7 @@ other = "leggi di più"
|
||||
other = "Da"
|
||||
|
||||
[whatsInThis]
|
||||
other = "Cosa c'è in {{ .Type }}"
|
||||
other = "Cosa c'è qui"
|
||||
|
||||
[related]
|
||||
other = "Correlati"
|
||||
|
@ -29,9 +29,11 @@
|
||||
</strong>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ if (or (not .Date.IsZero) (eq (.Param "show_reading_time") true) (eq $section.Params.show_reading_time true) )}}
|
||||
<div class="f6 mv4 dib tracked">
|
||||
{{/* Hugo uses Go's date formatting is set by example. Here are two formats */}}
|
||||
{{ if not .Date.IsZero }}
|
||||
<time class="f6 mv4 dib tracked" {{ printf `datetime="%s"` (.Date.Format "2006-01-02T15:04:05Z07:00") | safeHTMLAttr }}>
|
||||
<time {{ printf `datetime="%s"` (.Date.Format "2006-01-02T15:04:05Z07:00") | safeHTMLAttr }}>
|
||||
{{- .Date | time.Format (default "January 2, 2006" .Site.Params.date_format) -}}
|
||||
</time>
|
||||
{{end}}
|
||||
@ -43,8 +45,10 @@
|
||||
3) A page front matter value is set `show_reading_time = true`
|
||||
*/}}
|
||||
{{ if (or (eq (.Param "show_reading_time") true) (eq $section.Params.show_reading_time true) )}}
|
||||
<span class="f6 mv4 dib tracked"> - {{ i18n "readingTime" .ReadingTime }} </span>
|
||||
<span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span>
|
||||
<span> - {{ i18n "readingTime" .ReadingTime }} </span>
|
||||
<span> - {{ i18n "wordCount" .WordCount }} </span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links {{ $.Param "text_color" | default "mid-gray" }} {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl4-l" "pr4-l" }} w-two-thirds-l">
|
||||
|
@ -33,7 +33,7 @@
|
||||
</section>
|
||||
|
||||
{{ if ge $section_count (add $n_posts 1) }}
|
||||
<section class="w-100">
|
||||
<section class="w-100 m8">
|
||||
<h1 class="f3">{{ i18n "more" }}</h1>
|
||||
{{/* Now, range through the next four after the initial $n_posts items. Nest the requirements, "after" then "first" on the outside */}}
|
||||
{{ range (first 4 (after $n_posts $section)) }}
|
||||
@ -51,6 +51,8 @@
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{- partial "index-footer.html" -}}
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -22,7 +22,11 @@
|
||||
{{ with .Params.featured_image }}
|
||||
{{/* This is the default case, the image lives in the static directory.
|
||||
In which case we'll use the static dir */}}
|
||||
{{ $linkToCover = trim . "/" | absURL }}
|
||||
{{ if hasPrefix . "@" }}
|
||||
{{ $linkToCover = (printf "%s/%s" (partial "assetsRoot") (trim . "@/")) }}
|
||||
{{ else }}
|
||||
{{ $linkToCover = trim . "/" | absURL }}
|
||||
{{ end }}
|
||||
{{/* If we find a Page Resource matching the exact value, we use it instead. */}}
|
||||
{{ with $.Resources.GetMatch . }}
|
||||
{{ $linkToCover = .RelPermalink }}
|
||||
|
@ -0,0 +1,4 @@
|
||||
<meta http-equiv="onion-location" content="http://sitoctt2fxjvx3lc2iqqef2aeulflprjaasv2xl4zi7sxxbmvjy5b5yd.onion{{ .RelPermalink }}"/>
|
||||
{{ if ($featured_image := (partial "func/GetFeaturedImage.html" .)) }}
|
||||
<meta property="og:image" content="{{ $featured_image }}" />
|
||||
{{ end }}
|
12
themes/ananke/layouts/partials/index-footer.html
Normal file
12
themes/ananke/layouts/partials/index-footer.html
Normal file
@ -0,0 +1,12 @@
|
||||
<section class="w-100 mt4 tc">
|
||||
<h1 class="f3">Rings</h1>
|
||||
<p>
|
||||
<a href="https://fediring.net/previous?host=sitoctt.octt.eu.org">←</a>
|
||||
<a href="https://fediring.net/">
|
||||
<img class="w1 h1" src="https://sitoctt-assets.octt.eu.org/Media/Icons/Fediverse/Fediverse_logo_proposal.svg" title="Fediverse Logo Proposal, Eukombos, CC0, Wikimedia Commons"/>
|
||||
Fediring
|
||||
</a>
|
||||
<a href="https://fediring.net/random">[🎲]</a>
|
||||
<a href="https://fediring.net/next?host=sitoctt.octt.eu.org">→</a>
|
||||
</p>
|
||||
</section>
|
@ -1,8 +1,10 @@
|
||||
<footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
|
||||
<div class="flex justify-between">
|
||||
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.Home.Permalink }}" >
|
||||
© {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
|
||||
<a class="fw4 hover-white no-underline white-70 dib-ns pv2 ph3" href="{{ .Site.Home.Permalink }}" >
|
||||
© {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} 2022–{{ now.Format "2006" }} {{ end }}
|
||||
</a>
|
||||
<div>{{ partial "social-follow.html" . }}</div>
|
||||
</div>
|
||||
<span class="white-70 f6">❤️ Copying is an act of love. <a>Please copy and share</a>.</span>
|
||||
<div class="white pv3 tc">{{ partial "footer-buttons.html" }}</div>
|
||||
</footer>
|
||||
|
@ -1,2 +1,2 @@
|
||||
{{- $raw := (markdownify .Inner | chomp) -}}
|
||||
{{- $raw := .Inner -}}
|
||||
{{- partial "notice" . -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user