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..eec51cd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,7 +19,7 @@ ignoreErrors = ["additional-script-loading-error"] # ignore error of loading add # To enable Disqus comments, provide Disqus Shortname below. # To disable Disqus comments, simply leave the field empty or remove the next line -disqusShortname = '' +disqusShortname = 'fmaida' # set markup.highlight.noClasses=false to enable code highlight [markup] @@ -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/articoli/math-typesetting/index.md b/exampleSite/content/it/articoli/math-typesetting/index.md new file mode 100644 index 0000000..afad15b --- /dev/null +++ b/exampleSite/content/it/articoli/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 +--- + +Mathematical notation in a Hugo project can be enabled by using +[third party JavaScript libraries](https://github.com/hugo-sid/hugo-blog-awesome/blob/main/layouts/partials/helpers/katex.html). + + + +In this example we will be using [KaTeX](https://katex.org/). + +- To enable KaTeX globally, set the parameter `math` to `true` in a project's + configuration file as follows. + - `config.toml` + ```toml + [params] + math = true + ``` + - `config.yaml` + ```yaml + params: + math: true + ``` +- To enable KaTeX on a per page basis, include the parameter `math: true` in + Front Matter of Markdown content file as follows. + + ``` + --- + math: true + --- + ``` + +**Note:** The online reference of +[Supported TeX Functions](https://katex.org/docs/supported.html) is a helpful resource. + +### Examples + +- Block math: + + $$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } + $$ + +- Inline math: + + This is an inline polynomial: $5x^2 + 2y -7$. diff --git a/exampleSite/content/it/articoli/placeholder-text/index.md b/exampleSite/content/it/articoli/placeholder-text/index.md new file mode 100644 index 0000000..70d4758 --- /dev/null +++ b/exampleSite/content/it/articoli/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/articoli/rich-content/index.md b/exampleSite/content/it/articoli/rich-content/index.md new file mode 100644 index 0000000..235f174 --- /dev/null +++ b/exampleSite/content/it/articoli/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 ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. + +--- + +## YouTube Privacy Enhanced Shortcode + +{{< 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 @@