rochacbruno / marmite

Markdown makes sites - A Static Site Generator for Blogs
https://rochacbruno.github.io/marmite/
GNU Affero General Public License v3.0
340 stars 19 forks source link

Cards description #94

Closed rdenadai closed 3 days ago

rdenadai commented 3 days ago

@rochacbruno this an attempt to make it possible the description for the cards in the list.html.

I added a description to the Content struct, that could get filled with values in a description, if None we just fallback to the previous way (get from html and strip everything).

rochacbruno commented 3 days ago

The example dir is being our functional test, can you please add description to at least one of the posts on https://github.com/rochacbruno/marmite/tree/main/example/content so we can see it in action and ensure it does not break.

The example is build on CI for every PR.

rdenadai commented 3 days ago

The example dir is being our functional test, can you please add description to at least one of the posts on https://github.com/rochacbruno/marmite/tree/main/example/content so we can see it in action and ensure it does not break.

The example is build on CI for every PR.

Changed one of the templates inside example adding the description props... https://github.com/rochacbruno/marmite/pull/94/files#diff-ed8d8eb0f5910129e1c418a133c868185f804343e9a303ef662ce4eb1115776cR5