summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-05-11 18:15:49 -0600
committerBoris Verkhovskiy <boris.verk@gmail.com>2024-05-11 18:15:49 -0600
commitff34febd6a954dfa78fbe5055ad0a4bf9bbfa964 (patch)
treeaf5b07a30980c0dbc2fc177f1ccf0387e380e445
parent733ae8fc3f6587aae8bb50ede96247d026805b74 (diff)
[pug/*] remove headers
-rw-r--r--de-de/pug-de.html.markdown6
-rw-r--r--pt-br/pug-pt.html.markdown14
-rw-r--r--pug.html.markdown22
3 files changed, 15 insertions, 27 deletions
diff --git a/de-de/pug-de.html.markdown b/de-de/pug-de.html.markdown
index cff70660..ebc32622 100644
--- a/de-de/pug-de.html.markdown
+++ b/de-de/pug-de.html.markdown
@@ -8,15 +8,11 @@ translators:
lang: de-de
---
-## Erste Schritte mit Pug
-
Pug ist eine kleine Sprache, die zu HTML kompiliert. Sie hat eine
saubere Syntax mit zusätzlichen Funktionen wie if Anweisungen und Schleifen.
Sie kann auch als serverseitige Templatingsprache für Serversprachen
wie NodeJS verwendet werden.
-### Die Sprache
-
```pug
//- Einzeilenkommentar
@@ -200,8 +196,8 @@ mixin comment(name, kommentar)
//- <div>Hallo</div>
```
-
### Zusätzliche Ressourcen
+
- [The Site](https://pugjs.org/)
- [The Docs](https://pugjs.org/api/getting-started.html)
- [GitHub Repo](https://github.com/pugjs/pug)
diff --git a/pt-br/pug-pt.html.markdown b/pt-br/pug-pt.html.markdown
index bbecfad1..67abc189 100644
--- a/pt-br/pug-pt.html.markdown
+++ b/pt-br/pug-pt.html.markdown
@@ -8,14 +8,10 @@ translators:
lang: pt-br
---
-## Começando com Pug
-
-Pug é uma pequena linguagem que compila para HTML. Possui uma sintaxe limpa
-com algumas funcionalidades adicionais, como declarações if e loops. Também pode ser utilizada
+Pug é uma pequena linguagem que compila para HTML. Possui uma sintaxe limpa
+com algumas funcionalidades adicionais, como declarações if e loops. Também pode ser utilizada
como uma linguagem de templates no lado do servidor para tecnologias como o Node.js.
-### The Language
-
```pug
//- Comentário de uma linha
@@ -128,7 +124,7 @@ each value, index in [1,2,3]
each value in []
p=value
-//-
+//-
each value in []
p=value
@@ -196,15 +192,15 @@ mixin comment(nome, comentario)
span.comment-name= nome
div.comment-text= comentario
+comment("Gil", "Tudo é divino, tudo é maravilhoso")
-//-
+//-
<div>
<span class="comment-name">Gil</span>
<div class="comment-text">Tudo é divino, tudo é maravilhoso</div>
</div>
```
-
### Saiba Mais
+
- [Site Oficial](https://pugjs.org/)
- [Documentação](https://pugjs.org/api/getting-started.html)
- [Repositório no GitHub](https://github.com/pugjs/pug)
diff --git a/pug.html.markdown b/pug.html.markdown
index f39d5eb0..052c5dcc 100644
--- a/pug.html.markdown
+++ b/pug.html.markdown
@@ -5,13 +5,9 @@ contributors:
filename: index.pug
---
-## Getting Started with Pug
-
-Pug is a little language that compiles into the HTML. It has cleaner syntax
-with additional features like if statements and loops. It can also be used
-as a server side templating language for server languages like NodeJS.
-
-### The Language
+Pug is a language that compiles to HTML. It has a cleaner syntax
+with additional features like if statements and loops. It can also be used
+as a server-side templating language for server languages like Node.js.
```pug
//- Single Line Comment
@@ -125,7 +121,7 @@ each value, index in [1,2,3]
each value in []
p=value
-//-
+//-
each value in []
p=value
@@ -193,15 +189,15 @@ mixin comment(name, comment)
span.comment-name= name
div.comment-text= comment
+comment("Bob", "This is Awesome")
-//-
+//-
<div>
<span class="comment-name">Bob</span>
<div class="comment-text">This is Awesome</div>
</div>
```
-
### Additional Resources
-- [The Site](https://pugjs.org/)
-- [The Docs](https://pugjs.org/api/getting-started.html)
-- [GitHub Repo](https://github.com/pugjs/pug)
+
+- [The site](https://pugjs.org/)
+- [The docs](https://pugjs.org/api/getting-started.html)
+- [GitHub repo](https://github.com/pugjs/pug)