mirror of https://github.com/luizdepra/hugo-coder.git

Codruț Constantin Gușoi
02.10.2020 911a39528b036e8f367cf3741b2842259da4db69
Adds `.Content` to list.html partial (#290)

3 files added
2 files modified
25 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
exampleSite/content/snippets/_index.md 5 ●●●●● patch | view | raw | blame | history
exampleSite/content/snippets/first/index.md 9 ●●●●● patch | view | raw | blame | history
exampleSite/content/snippets/second/index.md 9 ●●●●● patch | view | raw | blame | history
layouts/partials/list.html 1 ●●●● patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -62,3 +62,4 @@
- [Piotr Orzechowski](https://orzechowski.tech)
- [Glenn Feunteun](https://github.com/gfeun)
- [Santiago González](https://github.com/netrules)
- [Codruț Constantin Gușoi](https://www.sdwolfz.pro)
exampleSite/content/snippets/_index.md
New file
@@ -0,0 +1,5 @@
---
title: "Snippets"
---
This content is in `content/snippets/_index.md`
exampleSite/content/snippets/first/index.md
New file
@@ -0,0 +1,9 @@
---
title: "First snippet"
---
This content is in `snippets/first/index.md`
```sh
pwd
```
exampleSite/content/snippets/second/index.md
New file
@@ -0,0 +1,9 @@
---
title: "Second snippet"
---
This content is in `snippets/second/index.md`
```sh
ls -la
```
layouts/partials/list.html
@@ -7,6 +7,7 @@
    {{- .Title -}}
  </h1>
  {{ .Content }}
  <ul>
    {{ range .Paginator.Pages }}
    <li>