404 NOT FOUND
-You just hit a route that doesn't exist.
+{{ T "errors.404" }}
+{{ T "errors.404_description" }}
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3691a70..d1e21d2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -32,26 +32,33 @@ disqusShortname = '' endLevel = 4 # ToC ends at H4 ordered = false # generates
Test
+ + +``` + +### Code block indented with four spaces + + + + + +Test
+ + + +### Code block with Hugo's internal highlight shortcode + +{{< highlight html >}} + + + + +Test
+ + +{{< /highlight >}} + +### Inline code + +Use the backtick to refer to a `variable` within a sentence. + +## List Types + +### Ordered List + +1. First item +2. Second item +3. Third item + +### Unordered List + +* List item +* Another item +* And another item + +### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/exampleSite/content/it/posts/math-typesetting/index.md b/exampleSite/content/it/posts/math-typesetting/index.md new file mode 100644 index 0000000..3310539 --- /dev/null +++ b/exampleSite/content/it/posts/math-typesetting/index.md @@ -0,0 +1,50 @@ +--- +author: Hugo Authors +title: Impaginazione Delle Formule Matematiche +date: 2023-04-01 +description: A brief guide to setup KaTeX +math: true +--- + +La notazione matematica in un progetto Hugo può essere abilitata utilizzando delle +[librerie JavaScript di terze parti](https://github.com/hugo-sid/hugo-blog-awesome/blob/main/layouts/partials/helpers/katex.html). + + + +In questo esempio utilizzeremo [KaTeX](https://katex.org/). + +- Per abilitare KaTeX a livello globale, impostate il parametro `math` a `true` nella configurazione di un progretto come segue. + + - `config.toml` + ```toml + [params] + math = true + ``` + - `config.yaml` + ```yaml + params: + math: true + ``` +- Per abilitare KaTeX solamente in alcune pagine, includete il parametro `math: true` nel + Front Matter del file markdown come segue. + + ``` + --- + math: true + --- + ``` + +**Nota:** La guida di riferimento online +[Supported TeX Functions](https://katex.org/docs/supported.html) è un'utile risorsa di informazioni. + +### Esempi + +- Blocco matematico: + + $$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } + $$ + +- Matematica inline: + + Questo è un polinomiale inline: $5x^2 + 2y -7$. diff --git a/exampleSite/content/it/posts/placeholder-text/index.md b/exampleSite/content/it/posts/placeholder-text/index.md new file mode 100644 index 0000000..70d4758 --- /dev/null +++ b/exampleSite/content/it/posts/placeholder-text/index.md @@ -0,0 +1,41 @@ +--- +author: Hugo Authors +title: Testo Segnaposto +date: 2023-02-07 +description: A post with placeholder text +--- + +Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. + +1. Exierant elisi ambit vivere dedere +2. Duce pollice +3. Eris modo +4. Spargitque ferrea quos palude + +Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. + +1. Comas hunc haec pietate fetum procerum dixit +2. Post torum vates letum Tiresia +3. Flumen querellas +4. Arcanaque montibus omnes +5. Quidem et + +# Vagus elidunt + + + +[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) + +## Mane refeci capiebant unda mulcebat + +Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. + +Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. + +Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. + +{{< css.inline >}} + +{{< /css.inline >}} diff --git a/exampleSite/content/it/posts/rich-content/index.md b/exampleSite/content/it/posts/rich-content/index.md new file mode 100644 index 0000000..7050809 --- /dev/null +++ b/exampleSite/content/it/posts/rich-content/index.md @@ -0,0 +1,30 @@ +--- +author: Hugo Authors +title: Gli Shortcode di Hugo +date: 2023-02-09 +description: A brief description of Hugo Shortcodes +--- + +Hugo viene distribuito con alcuni [Shortcode integrati](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) per il rich content, assieme a una [Configurazione Per La Privacy](https://gohugo.io/about/hugo-and-gdpr/) ed un'insieme di semplici Shortcode che consentono di incorporare alcune versioni statiche e senza-JS di alcuni social media. + +--- + +## Shortcode Con Miglioramento Della Privacy Per YouTube + +{{< youtube ZJthWmvUzzc >}} + +You just hit a route that doesn't exist.
+{{ T "errors.404_description" }}
{{ range $firstSection := (where .Site.Sections "Section" "in" (first 1 (.Site.Params.mainSections))) }} - See all posts + {{ T "home.see_all_posts" }} {{ end }}
{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8676467..b303209 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -7,12 +7,12 @@