Skip to content

Conversation

@sdwolfz
Copy link
Contributor

@sdwolfz sdwolfz commented Mar 31, 2020

Prerequisites

Put an x into the box(es) that apply:

  • This pull request fixes a bug.
  • This pull request adds a feature.
  • This pull request introduces breaking change.

Description

Adds {{.Content}} to list.html partial. This is done to allow adding content to lists using a _index.md file in a sub-directory.

Previously there was no way to add this content and you needed to overwrite the layout and partial to achieve this.

@sdwolfz sdwolfz force-pushed the add-content-to-list branch from 46631d6 to 95ebc42 Compare March 31, 2020 22:29
@luizdepra
Copy link
Owner

Interesting. Could you please add an example of this feature into exampleSite?

@sdwolfz sdwolfz force-pushed the add-content-to-list branch from 95ebc42 to 6c4ea27 Compare April 1, 2020 18:28
@sdwolfz
Copy link
Contributor Author

sdwolfz commented Apr 1, 2020

I've added the snippets section to the example site for a demo. Let me know if you would like further formatting or content changes.

@sdwolfz sdwolfz force-pushed the add-content-to-list branch from 6c4ea27 to 6c2b156 Compare April 1, 2020 18:30
@luizdepra
Copy link
Owner

Nice. Thank you.

@luizdepra luizdepra merged commit 911a395 into luizdepra:master Apr 2, 2020
@sdwolfz sdwolfz deleted the add-content-to-list branch April 2, 2020 14:02
@clement-pannetier clement-pannetier mentioned this pull request Apr 2, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants