mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Adds .Content to list.html partial (#290)
This commit is contained in:
committed by
GitHub
parent
64b827d3b4
commit
911a39528b
@@ -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)
|
||||
|
||||
5
exampleSite/content/snippets/_index.md
Normal file
5
exampleSite/content/snippets/_index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Snippets"
|
||||
---
|
||||
|
||||
This content is in `content/snippets/_index.md`
|
||||
9
exampleSite/content/snippets/first/index.md
Normal file
9
exampleSite/content/snippets/first/index.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "First snippet"
|
||||
---
|
||||
|
||||
This content is in `snippets/first/index.md`
|
||||
|
||||
```sh
|
||||
pwd
|
||||
```
|
||||
9
exampleSite/content/snippets/second/index.md
Normal file
9
exampleSite/content/snippets/second/index.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Second snippet"
|
||||
---
|
||||
|
||||
This content is in `snippets/second/index.md`
|
||||
|
||||
```sh
|
||||
ls -la
|
||||
```
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
{{- .Title -}}
|
||||
</h1>
|
||||
{{ .Content }}
|
||||
<ul>
|
||||
{{ range .Paginator.Pages }}
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user