1
0
Эх сурвалжийг харах

Update demo content (#830)

Co-authored-by: Luiz F. A. de Prá <luiz.pra@luizalabs.com>
Luiz F. A. de Prá 2 жил өмнө
parent
commit
c3df12d0bb

+ 15 - 4
exampleSite/content/posts/emoji-support.md

@@ -1,15 +1,24 @@
 +++
-author = "Hugo Authors"
+authors = ["Lone Coder"]
 title = "Emoji Support"
-date = "2019-03-05"
+date = "2023-07-07"
 description = "Guide to emoji usage in Hugo"
 tags = [
+    "hugo",
+    "markdown",
     "emoji",
 ]
+categories = [
+    "syntax",
+    "theme demo",
+]
+series = ["Theme Demo"]
 +++
 
 Emoji can be enabled in a Hugo project in a number of ways.
+
 <!--more-->
+
 The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
 
 To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
@@ -19,17 +28,18 @@ To enable emoji globally, set `enableEmoji` to `true` in your site's [configurat
 
 The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
 
-***
+---
 
 **N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
 
 {{< highlight html >}}
 .emoji {
-  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
+font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
 }
 {{< /highlight >}}
 
 {{< css.inline >}}
+
 <style>
 .emojify {
 	font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
@@ -43,4 +53,5 @@ The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference
   }
 }
 </style>
+
 {{< /css.inline >}}

+ 15 - 4
exampleSite/content/posts/emoji-support.pt-br.md

@@ -1,15 +1,24 @@
 +++
-author = "Hugo Authors"
+authors = ["Programador Solitário"]
 title = "Suporte a Emojis"
-date = "2019-03-05"
+date = "2023-07-07"
 description = "Um guia de utilização de emojis com Hugo"
 tags = [
+    "hugo",
+    "markdown",
     "emoji",
 ]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
 +++
 
 Emojis podem ser ativados em um projeto Hugo de diversar formas.
+
 <!--more-->
+
 A função [`emojify`](https://gohugo.io/functions/emojify/) pode ser chamada diretamente nos templates ou com [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
 
 Para ativar os emojis globalmente, aplique `enableEmoji` com o valor `true` na [configuração](https://gohugo.io/getting-started/configuration/) do seu site e então você poderá adicionar códigos de emoji diretamente nos arquivos de conteúdo. Por exemplo:
@@ -19,17 +28,18 @@ Para ativar os emojis globalmente, aplique `enableEmoji` com o valor `true` na [
 
 O [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) é uma referência útil para identificar códigos de emojis.
 
-***
+---
 
 **Nota:** Os passos anteriores ativam os caractéres e sequências de emoji do Padrão Unicode no Hugo, porém a renderização desses glifos depende do navegador e plataforma utilizada. Para escolher o estilo dos emojis você pode tanto usar um font de emoji de terceiros ou uma lista de fontes. Por exemplo:
 
 {{< highlight html >}}
 .emoji {
-  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
+font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
 }
 {{< /highlight >}}
 
 {{< css.inline >}}
+
 <style>
 .emojify {
 	font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
@@ -43,4 +53,5 @@ O [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) é uma referência úti
   }
 }
 </style>
+
 {{< /css.inline >}}

+ 3 - 8
exampleSite/content/posts/external-post.md

@@ -1,15 +1,10 @@
 +++
-author = "Hugo Authors"
-date = "2019-03-04"
+authors = ["Lone Coder"]
+date = "2023-07-06"
 title = "External Page: Hugo Coder Wiki"
 slug = "hugo-coder-wiki"
 tags = [
-    "hugo",
-    "development",
-    "themes"
-]
-categories = [
-    "Development",
+    "hugo"
 ]
 externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
 +++

+ 3 - 8
exampleSite/content/posts/external-post.pt-br.md

@@ -1,15 +1,10 @@
 +++
-author = "Hugo Authors"
-date = "2019-03-04"
+authors = ["Programador Solitário"]
+date = "2023-07-06"
 title = "Página Externa: Wiki Hugo Coder"
 slug = "hugo-coder-wiki"
 tags = [
-    "hugo",
-    "development",
-    "themes"
-]
-categories = [
-    "Development",
+    "hugo"
 ]
 externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
 +++

+ 48 - 47
exampleSite/content/posts/html-and-css-only-tabs.md

@@ -1,47 +1,49 @@
 +++
-author = "Hugo Authors"
+authors = ["Lone Coder"]
 title = "HTML and CSS only tabs"
-date = "2022-05-15"
+date = "2023-07-09"
 description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
 tags = [
+    "hugo",
     "markdown",
     "css",
     "html",
+    "shortcodes",
 ]
 categories = [
-    "themes",
+    "theme demo",
     "syntax",
 ]
-series = ["Themes Guide"]
+series = ["Theme Demo"]
 aliases = ["migrate-from-jekyl"]
 +++
 
-## Basic shortcodes
+## Shortcodes
 
 The following content:
 
 ```markdown
 {{</* tabgroup */>}}
-  {{</* tab name="Hello" */>}}
-  Hello World!
-  {{</* /tab */>}}
+{{</* tab name="Hello" */>}}
+Hello World!
+{{</* /tab */>}}
 
-  {{</* tab name="Goodbye" */>}}
-  Goodbye Everybody!
-  {{</* /tab */>}}
+{{</* tab name="Goodbye" */>}}
+Goodbye Everybody!
+{{</* /tab */>}}
 {{</* /tabgroup */>}}
 ```
 
 Will generate:
 
 {{< tabgroup >}}
-  {{< tab name="Hello" >}}
-  Hello World!
-  {{< /tab >}}
+{{< tab name="Hello" >}}
+Hello World!
+{{< /tab >}}
 
-  {{< tab name="Goodbye" >}}
-  Goodbye Everybody!
-  {{< /tab >}}
+{{< tab name="Goodbye" >}}
+Goodbye Everybody!
+{{< /tab >}}
 {{< /tabgroup >}}
 
 ## Right alighment
@@ -50,84 +52,83 @@ You can also align the tabs to the right:
 
 ```markdown
 {{</* tabgroup align="right" */>}}
-  {{</* tab name="Hello" */>}}
-  Hello World!
-  {{</* /tab */>}}
+{{</* tab name="Hello" */>}}
+Hello World!
+{{</* /tab */>}}
 
-  {{</* tab name="Goodbye" */>}}
-  Goodbye Everybody!
-  {{</* /tab */>}}
+{{</* tab name="Goodbye" */>}}
+Goodbye Everybody!
+{{</* /tab */>}}
 {{</* /tabgroup */>}}
 ```
 
 Giving you this look:
 
 {{< tabgroup align="right" >}}
-  {{< tab name="Hello" >}}
-  Hello World!
-  {{< /tab >}}
+{{< tab name="Hello" >}}
+Hello World!
+{{< /tab >}}
 
-  {{< tab name="Goodbye" >}}
-  Goodbye Everybody!
-  {{< /tab >}}
+{{< tab name="Goodbye" >}}
+Goodbye Everybody!
+{{< /tab >}}
 {{< /tabgroup >}}
 
 ## Markdown content
 
 Any valid markdown can be used inside the tab:
 
-~~~markdown
+````markdown
 {{</* tabgroup align="right" style="code" */>}}
-  {{</* tab name="Ruby" */>}}
+{{</* tab name="Ruby" */>}}
 
 ```ruby
 puts 'Hello'
 ```
 
-  {{</* /tab */>}}
-  {{</* tab name="Python" */>}}
+{{</* /tab */>}}
+{{</* tab name="Python" */>}}
 
 ```python
 print('Hello')
 ```
 
-  {{</* /tab */>}}
-  {{</* tab name="JavaScript" */>}}
+{{</* /tab */>}}
+{{</* tab name="JavaScript" */>}}
 
 ```js
-console.log('Hello')
+console.log("Hello");
 ```
 
-  {{</* /tab */>}}
+{{</* /tab */>}}
 {{</* /tabgroup */>}}
-
-~~~
+````
 
 And you get this lovely content:
 
 {{< tabgroup align="right" style="code" >}}
-  {{< tab name="Ruby" >}}
+{{< tab name="Ruby" >}}
 
 ```ruby
 puts 'Hello'
 ```
 
-  {{< /tab >}}
-  {{< tab name="Python" >}}
+{{< /tab >}}
+{{< tab name="Python" >}}
 
 ```python
 print('Hello')
 ```
 
-  {{< /tab >}}
-  {{< tab name="JavaScript" >}}
+{{< /tab >}}
+{{< tab name="JavaScript" >}}
 
 ```js
-console.log('Hello')
+console.log("Hello");
 ```
 
-  {{< /tab >}}
+{{< /tab >}}
 {{< /tabgroup >}}
 
 In this case `style="code"` makes it look a little nicer for scenarios where
-your content purely a code block.
+your content is purely a code block.

+ 133 - 0
exampleSite/content/posts/html-and-css-only-tabs.pt-br.md

@@ -0,0 +1,133 @@
++++
+authors = ["Programador Solitário"]
+title = "HTML and CSS only tabs"
+date = "2023-07-09"
+description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
+tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+    "shortcodes",
+]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
+aliases = ["migrate-from-jekyl"]
++++
+
+## Shortcodes
+
+O seguinte conteúdo:
+
+```markdown
+{{</* tabgroup */>}}
+{{</* tab name="Hello" */>}}
+Hello World!
+{{</* /tab */>}}
+
+{{</* tab name="Goodbye" */>}}
+Goodbye Everybody!
+{{</* /tab */>}}
+{{</* /tabgroup */>}}
+```
+
+Irá gerar:
+
+{{< tabgroup >}}
+{{< tab name="Hello" >}}
+Hello World!
+{{< /tab >}}
+
+{{< tab name="Goodbye" >}}
+Goodbye Everybody!
+{{< /tab >}}
+{{< /tabgroup >}}
+
+## Alinhamento à direita
+
+Você também pode alinhas as tabs à direita:
+
+```markdown
+{{</* tabgroup align="right" */>}}
+{{</* tab name="Hello" */>}}
+Hello World!
+{{</* /tab */>}}
+
+{{</* tab name="Goodbye" */>}}
+Goodbye Everybody!
+{{</* /tab */>}}
+{{</* /tabgroup */>}}
+```
+
+Obtendo o seguinte resultado:
+
+{{< tabgroup align="right" >}}
+{{< tab name="Hello" >}}
+Hello World!
+{{< /tab >}}
+
+{{< tab name="Goodbye" >}}
+Goodbye Everybody!
+{{< /tab >}}
+{{< /tabgroup >}}
+
+## Conteúdo Markdown
+
+Qualquer conteúdo Markdown válido pode ser usado dentro das tabs:
+
+````markdown
+{{</* tabgroup align="right" style="code" */>}}
+{{</* tab name="Ruby" */>}}
+
+```ruby
+puts 'Hello'
+```
+
+{{</* /tab */>}}
+{{</* tab name="Python" */>}}
+
+```python
+print('Hello')
+```
+
+{{</* /tab */>}}
+{{</* tab name="JavaScript" */>}}
+
+```js
+console.log("Hello");
+```
+
+{{</* /tab */>}}
+{{</* /tabgroup */>}}
+````
+
+Assim você obterá o seguinte resultado:
+
+{{< tabgroup align="right" style="code" >}}
+{{< tab name="Ruby" >}}
+
+```ruby
+puts 'Hello'
+```
+
+{{< /tab >}}
+{{< tab name="Python" >}}
+
+```python
+print('Hello')
+```
+
+{{< /tab >}}
+{{< tab name="JavaScript" >}}
+
+```js
+console.log("Hello");
+```
+
+{{< /tab >}}
+{{< /tabgroup >}}
+
+Nesse exemplo, `style="code"` faz com que o resultado seja mais agradável quando conteúdo é puramente blocos de código.

+ 38 - 29
exampleSite/content/posts/markdown-syntax.md

@@ -1,22 +1,24 @@
 +++
-authors = ["Hugo Authors"]
+authors = ["Lone Coder"]
 title = "Markdown Syntax Guide"
-date = "2019-03-11"
+date = "2023-07-13"
 description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
 tags = [
+    "hugo",
     "markdown",
     "css",
     "html",
 ]
 categories = [
-    "themes",
+    "theme demo",
     "syntax",
 ]
-series = ["Themes Guide"]
+series = ["Theme Demo"]
 aliases = ["migrate-from-jekyl"]
 +++
 
 This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
+
 <!--more-->
 
 ## Headings
@@ -24,10 +26,15 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c
 The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
 
 # H1
+
 ## H2
+
 ### H3
+
 #### H4
+
 ##### H5
+
 ###### H6
 
 ## Paragraph
@@ -47,7 +54,7 @@ The blockquote element represents content that is quoted from another source, op
 #### Blockquote without attribution
 
 > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
-> **Note** that you can use *Markdown syntax* within a blockquote.
+> **Note** that you can use _Markdown syntax_ within a blockquote.
 
 #### Blockquote with attribution
 
@@ -58,31 +65,31 @@ The blockquote element represents content that is quoted from another source, op
 
 Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
 
-   Name | Age
---------|------
-    Bob | 27
-  Alice | 23
+| Name  | Age |
+| ----- | --- |
+| Bob   | 27  |
+| Alice | 23  |
 
 #### Inline Markdown within tables
 
 | Italics   | Bold     | Code   |
-| --------  | -------- | ------ |
-| *italics* | **bold** | `code` |
+| --------- | -------- | ------ |
+| _italics_ | **bold** | `code` |
 
 ## Code Blocks
 
 #### Code block with backticks
 
 ```html
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-<head>
-  <meta charset="utf-8">
-  <title>Example HTML5 Document</title>
-</head>
-<body>
-  <p>Test</p>
-</body>
+    <head>
+        <meta charset="utf-8" />
+        <title>Example HTML5 Document</title>
+    </head>
+    <body>
+        <p>Test</p>
+    </body>
 </html>
 ```
 
@@ -100,7 +107,9 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
     </html>
 
 #### Code block with Hugo's internal highlight shortcode
+
 {{< highlight html >}}
+
 <!doctype html>
 <html lang="en">
 <head>
@@ -123,19 +132,19 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
 
 #### Unordered List
 
-* List item
-* Another item
-* And another item
+-   List item
+-   Another item
+-   And another item
 
 #### Nested list
 
-* Fruit
-  * Apple
-  * Orange
-  * Banana
-* Dairy
-  * Milk
-  * Cheese
+-   Fruit
+    -   Apple
+    -   Orange
+    -   Banana
+-   Dairy
+    -   Milk
+    -   Cheese
 
 #### Foot Notes
 

+ 38 - 30
exampleSite/content/posts/markdown-syntax.pt-br.md

@@ -1,22 +1,24 @@
 +++
-authors = ["Hugo Authors"]
+authors = ["Programador Solitário"]
 title = "Guia de Sintaxe Markdown"
-date = "2019-03-11"
+date = "2023-07-13"
 description = "Artigo de exemplo mostrando a sintaxe básica Markdown e a formatação de elementos HTML."
 tags = [
+    "hugo",
     "markdown",
     "css",
     "html",
 ]
 categories = [
-    "themes",
-    "syntax",
+    "sintaxe",
+    "demonstração do tema",
 ]
-series = ["Guia do Thema"]
+series = ["Demonstração do Tema"]
 aliases = ["migrate-from-jekyl"]
 +++
 
 Esse artigo é um exemplo básico para mostrar a sintaxe Markdown que é usada nos arquivos de conteúdo do Hugo. Ele também mostrar como cada elemento básico HTML é estilizado com CSS com os temas do Hugo.
+
 <!--more-->
 
 ## Cabeçalhos
@@ -24,10 +26,15 @@ Esse artigo é um exemplo básico para mostrar a sintaxe Markdown que é usada n
 Os seguintes elementos HTML `<h1>`—`<h6>` representam 6 níveis de cabeçalhos de seção. `<h1>` é para seções de nível mais alto enquanto `<h6>` é para o nível mais baixo.
 
 # H1
+
 ## H2
+
 ### H3
+
 #### H4
+
 ##### H5
+
 ###### H6
 
 ## Parágrafo
@@ -43,7 +50,7 @@ O elemento de citações representa um conteúdo citado de outra origem, opciona
 #### Citações sem atribuição
 
 > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
-> **Note** that you can use *Markdown syntax* within a blockquote.
+> **Note** that you can use _Markdown syntax_ within a blockquote.
 
 #### Citações com atribuição
 
@@ -54,31 +61,31 @@ O elemento de citações representa um conteúdo citado de outra origem, opciona
 
 Tabelas não fazem parte do cerne da especificação do Markdown, mas o Hugo oferece suporte a elas.
 
-   Nome | Idade
---------|-------
-    Bob | 27
-  Alice | 23
+| Nome  | Idade |
+| ----- | ----- |
+| Bob   | 27    |
+| Alice | 23    |
 
 #### Tabelas com Markdown inline
 
 | Italics   | Bold     | Code   |
-| --------  | -------- | ------ |
-| *italics* | **bold** | `code` |
+| --------- | -------- | ------ |
+| _italics_ | **bold** | `code` |
 
 ## Blocos de código
 
 #### Blocos de código com crase
 
 ```html
-<!doctype html>
+<!DOCTYPE html>
 <html lang="pt-br">
-<head>
-  <meta charset="utf-8">
-  <title>Exemplo de Documento HTML5</title>
-</head>
-<body>
-  <p>Teste</p>
-</body>
+    <head>
+        <meta charset="utf-8" />
+        <title>Exemplo de Documento HTML5</title>
+    </head>
+    <body>
+        <p>Teste</p>
+    </body>
 </html>
 ```
 
@@ -98,6 +105,7 @@ Tabelas não fazem parte do cerne da especificação do Markdown, mas o Hugo ofe
 #### Blocos de código com highlight shortcode interno do Hugo
 
 {{< highlight html >}}
+
 <!doctype html>
 <html lang="pt-br">
 <head>
@@ -120,19 +128,19 @@ Tabelas não fazem parte do cerne da especificação do Markdown, mas o Hugo ofe
 
 #### Listas não Ordenada
 
-* Um item
-* Outro item
-* Algum outro item
+-   Um item
+-   Outro item
+-   Algum outro item
 
 #### Listas aninhadas
 
-* Frutas
-  * Maçã
-  * Laranja
-  * Banana
-* Laticínios
-  * Leite
-  * Queijo
+-   Frutas
+    -   Maçã
+    -   Laranja
+    -   Banana
+-   Laticínios
+    -   Leite
+    -   Queijo
 
 #### Notas de Rodapé
 

+ 27 - 12
exampleSite/content/posts/math-typesetting.md

@@ -1,19 +1,31 @@
----
-author: Hugo Authors
-title: Math Typesetting
-date: 2019-03-08
-description: A brief guide to setup KaTeX
-math: true
----
++++
+authors = ["Lone Coder"]
+title = "Math Typesetting"
+date = "2023-07-10"
+description = "A brief guide to setup KaTeX"
+math = true
+tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+]
+categories = [
+    "theme demo",
+    "syntax",
+]
+series = ["Theme Demo"]
++++
 
 Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
+
 <!--more-->
 
 In this example we will be using [KaTeX](https://katex.org/)
 
-- Create a partial under `/layouts/partials/math.html`
-- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
-- Include the partial in your templates like so:
+-   Create a partial under `/layouts/partials/math.html`
+-   Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
+-   Include the partial in your templates like so:
 
 ```bash
 {{ if or .Params.math .Site.Params.math }}
@@ -21,13 +33,14 @@ In this example we will be using [KaTeX](https://katex.org/)
 {{ end }}
 ```
 
-- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
-- To enable KaTex on a per page basis include the parameter `math: true` in content files
+-   To enable KaTex globally set the parameter `math` to `true` in a project's configuration
+-   To enable KaTex on a per page basis include the parameter `math: true` in content files
 
 **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
 
 {{< math.inline >}}
 {{ if or .Page.Params.math .Site.Params.math }}
+
 <!-- KaTeX -->
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
 <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
@@ -38,12 +51,14 @@ In this example we will be using [KaTeX](https://katex.org/)
 ### Examples
 
 {{< math.inline >}}
+
 <p>
 Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
 </p>
 {{</ math.inline >}}
 
 Block math:
+
 $$
  \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
 $$

+ 27 - 12
exampleSite/content/posts/math-typesetting.pt-br.md

@@ -1,19 +1,31 @@
----
-author: Hugo Authors
-title: Configuração de Equações Matemáticas
-date: 2019-03-08
-description: Um guia rápido sobre utilizar KaTeX
-math: true
----
++++
+authors = ["Programador Solitário"]
+title = "Configuração de Equações Matemáticas"
+date = "2023-07-10"
+description = "Um guia rápido sobre utilizar KaTeX"
+math ="true"
+tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
++++
 
 Em um projeto Hugo as Notações Matemáticas podem ser usadas com a ajuda de bibliotecas JavaScript de terceiros.
+
 <!--more-->
 
 Nesse exemplo usaremos o [KaTeX](https://katex.org/).
 
-- Crie um partial template em `/layouts/partials/math.html`
-- Dentro, utilize o [Auto-render Extension](https://katex.org/docs/autorender.html) ou sirva os scripts localmente.
-- Inclua o partial nos seus templates da seguinte forma:
+-   Crie um partial template em `/layouts/partials/math.html`
+-   Dentro, utilize o [Auto-render Extension](https://katex.org/docs/autorender.html) ou sirva os scripts localmente.
+-   Inclua o partial nos seus templates da seguinte forma:
 
 ```bash
 {{ if or .Params.math .Site.Params.math }}
@@ -21,13 +33,14 @@ Nesse exemplo usaremos o [KaTeX](https://katex.org/).
 {{ end }}
 ```
 
-- Para ativar o KaTex globalmente defina o parâmetro `math` como `true` na confgiuração do projeto
-- Para ativar o KaTex em páginas específicas inclua o parâmetro `math: true` nos arquivos de conteúdo
+-   Para ativar o KaTex globalmente defina o parâmetro `math` como `true` na confgiuração do projeto
+-   Para ativar o KaTex em páginas específicas inclua o parâmetro `math: true` nos arquivos de conteúdo
 
 **Nota:** Use a referência online [Supported TeX Functions](https://katex.org/docs/supported.html) como base para criar notações matemáticas.
 
 {{< math.inline >}}
 {{ if or .Page.Params.math .Site.Params.math }}
+
 <!-- KaTeX -->
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
 <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
@@ -38,12 +51,14 @@ Nesse exemplo usaremos o [KaTeX](https://katex.org/).
 ### Examples
 
 {{< math.inline >}}
+
 <p>
 Notação inline: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
 </p>
 {{</ math.inline >}}
 
 Notação em bloco:
+
 $$
  \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
 $$

+ 19 - 9
exampleSite/content/posts/mermaid-support.md

@@ -1,14 +1,24 @@
 +++
-date = "2022-07-25"
+authors = ["Lone Coder"]
+date = "2023-07-08"
 title = "Mermaid JS support"
 description = "The post demonstrates Mermaid JS support"
-series = ["Theme", "Hugo"]
+tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+]
+categories = [
+    "theme demo",
+    "syntax",
+]
+series = ["Theme Demo"]
 +++
 
 If you want to use [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) on your website.
 Provide `mermaid` as [Shortcode](https://gohugo.io/content-management/shortcodes/#readout) in your markdown file.
 
-
 {{<mermaid>}}
 flowchart LR
 
@@ -16,18 +26,18 @@ flowchart LR
 
     B --> C
 
-    C --> D 
+    C --> D
 
     D --> B
+
 {{</mermaid>}}
 
 {{<mermaid>}}
 sequenceDiagram
-    participant Alice
-    participant Bob
-    Alice->>Bob: Hi Bob
-    Bob->>Alice: Hi Alice
+participant Alice
+participant Bob
+Alice->>Bob: Hi Bob
+Bob->>Alice: Hi Alice
 {{</mermaid>}}
 
-
 Find more example on [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) website.

+ 43 - 0
exampleSite/content/posts/mermaid-support.pt-br.md

@@ -0,0 +1,43 @@
++++
+authors = ["Lone Coder"]
+date = "2023-07-08"
+title = "Mermaid JS support"
+description = "The post demonstrates Mermaid JS support"
+tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
++++
+
+Se quiser usar o [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) em sua página.
+Use o [shortcode](https://gohugo.io/content-management/shortcodes/#readout) `mermaid` em seus conteúdos Markdown.
+
+{{<mermaid>}}
+flowchart LR
+
+    A --> B
+
+    B --> C
+
+    C --> D
+
+    D --> B
+
+{{</mermaid>}}
+
+{{<mermaid>}}
+sequenceDiagram
+participant Alice
+participant Bob
+Alice->>Bob: Hi Bob
+Bob->>Alice: Hi Alice
+{{</mermaid>}}
+
+Entro mais exemplos na página do [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/).

+ 14 - 5
exampleSite/content/posts/more-rich-content.md

@@ -1,16 +1,25 @@
 +++
-author = "Hugo Authors"
+authors = ["Lone Coder"]
 title = "More Rich Content"
-date = "2019-03-09"
+date = "2023-07-11"
 description = "A brief description about Hugo Coder's Custom Shortcodes"
 tags = [
-    "shortcodes"
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+    "shortcodes",
 ]
+categories = [
+    "theme demo",
+    "syntax",
+]
+series = ["Theme Demo"]
 +++
 
 Hugo Coder provides some Custom Shortcodes.
-<!--more-->
----
+
+## <!--more-->
 
 ## Shortcodes Avisos
 

+ 14 - 5
exampleSite/content/posts/more-rich-content.pt-br.md

@@ -1,16 +1,25 @@
 +++
-author = "Hugo Authors"
+authors = ["Programador Solitário"]
 title = "Mais Conteúdo Rico"
-date = "2019-03-09"
+date = "2023-07-11"
 description = "Uma breve descrição sobre Shortcodes customizados do Hugo Coder"
 tags = [
-    "shortcodes"
+    "hugo",
+    "markdown",
+    "css",
+    "html",
+    "shortcodes",
 ]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
 +++
 
 O Hugo Coder proporciona alguns Shortcodes Customizados.
-<!--more-->
----
+
+## <!--more-->
 
 ## Shortcodes Avisos
 

+ 5 - 3
exampleSite/content/posts/placeholder-text.md

@@ -1,7 +1,7 @@
 +++
-author = "Hugo Authors"
+authors = ["Lone Coder"]
 title = "Placeholder Text"
-date = "2019-03-09"
+date = "2023-07-05"
 description = "Lorem Ipsum Dolor Si Amet"
 tags = [
     "markdown",
@@ -36,10 +36,12 @@ Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit
 
 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**.
+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 >}}
+
 <style>
 .canon { background: white; width: 100%; height: auto; }
 </style>
+
 {{< /css.inline >}}

+ 5 - 3
exampleSite/content/posts/placeholder-text.pt-br.md

@@ -1,7 +1,7 @@
 +++
-author = "Hugo Authors"
+authors = ["Programador Solitário"]
 title = "Texto de Exemplo"
-date = "2019-03-09"
+date = "2023-07-05"
 description = "Lorem Ipsum Dolor Si Amet"
 tags = [
     "markdown",
@@ -36,10 +36,12 @@ Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit
 
 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**.
+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 >}}
+
 <style>
 .canon { background: white; width: 100%; height: auto; }
 </style>
+
 {{< /css.inline >}}

+ 13 - 5
exampleSite/content/posts/rich-content.md

@@ -1,17 +1,25 @@
 +++
-author = "Hugo Authors"
+authors = ["Lone Coder"]
 title = "Rich Content"
-date = "2019-03-10"
+date = "2023-07-12"
 description = "A brief description of Hugo Shortcodes"
 tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
     "shortcodes",
-    "privacy",
 ]
+categories = [
+    "theme demo",
+    "syntax",
+]
+series = ["Theme Demo"]
 +++
 
 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.
-<!--more-->
----
+
+## <!--more-->
 
 ## YouTube Privacy Enhanced Shortcode
 

+ 13 - 5
exampleSite/content/posts/rich-content.pt-br.md

@@ -1,17 +1,25 @@
 +++
-author = "Hugo Authors"
+authors = ["Programador Solitário"]
 title = "Conteúdo Rico"
-date = "2019-03-10"
+date = "2023-07-12"
 description = "Uma breve descrição sobre Shortcodes do Hugo"
 tags = [
+    "hugo",
+    "markdown",
+    "css",
+    "html",
     "shortcodes",
-    "privacy",
 ]
+categories = [
+    "sintaxe",
+    "demonstração do tema",
+]
+series = ["Demonstração do Tema"]
 +++
 
 O Hugo vem com vários [Shortcodes Internos](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para conteúdo rico, assim como uma [Configuração de Privacidade](https://gohugo.io/about/hugo-and-gdpr/) e uma gama de Shortcodes simples que permitem embutir versões estáticas e sem JS de várias de redes sociais.
-<!--more-->
----
+
+## <!--more-->
 
 ## Shortcode do YouTube com privacidade melhorada