Skip to content

Commit

Permalink
[pug/*] remove headers
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed May 12, 2024
1 parent 733ae8f commit ff34feb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
6 changes: 1 addition & 5 deletions de-de/pug-de.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
14 changes: 5 additions & 9 deletions pt-br/pug-pt.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -128,7 +124,7 @@ each value, index in [1,2,3]
each value in []
p=value
//-
//-
each value in []
p=value
Expand Down Expand Up @@ -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)
22 changes: 9 additions & 13 deletions pug.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -125,7 +121,7 @@ each value, index in [1,2,3]
each value in []
p=value
//-
//-
each value in []
p=value
Expand Down Expand Up @@ -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)

0 comments on commit ff34feb

Please sign in to comment.