Adds .Content to list.html partial (#290)

This commit is contained in:
Codruț Constantin Gușoi
2020-04-02 14:10:43 +01:00
committed by GitHub
parent 64b827d3b4
commit 911a39528b
5 changed files with 25 additions and 0 deletions

View File

@@ -62,3 +62,4 @@
- [Piotr Orzechowski](https://orzechowski.tech) - [Piotr Orzechowski](https://orzechowski.tech)
- [Glenn Feunteun](https://github.com/gfeun) - [Glenn Feunteun](https://github.com/gfeun)
- [Santiago González](https://github.com/netrules) - [Santiago González](https://github.com/netrules)
- [Codruț Constantin Gușoi](https://www.sdwolfz.pro)

View File

@@ -0,0 +1,5 @@
---
title: "Snippets"
---
This content is in `content/snippets/_index.md`

View File

@@ -0,0 +1,9 @@
---
title: "First snippet"
---
This content is in `snippets/first/index.md`
```sh
pwd
```

View File

@@ -0,0 +1,9 @@
---
title: "Second snippet"
---
This content is in `snippets/second/index.md`
```sh
ls -la
```

View File

@@ -7,6 +7,7 @@
{{- .Title -}} {{- .Title -}}
</h1> </h1>
{{ .Content }}
<ul> <ul>
{{ range .Paginator.Pages }} {{ range .Paginator.Pages }}
<li> <li>