Open jeanineharb opened 2 years ago
Disclosure: I am not the owner/maintainer. I am just a normal user who has encountered this error before.
Regarding your error, it is likely due to the themes/coyote/layouts/_default/summary.html
file expecting there to be an article__image
for each article.
If you checkout the exampleSite branch it contains the code used to deploy the example site and could be helpful.
In this case, the structure follows the pattern of content/posts/$POSTNAME/index.md
where the index.md
contains all of $POSTNAME
post content, starting with a header
+++
author = "EXAMPLE"
title = "EXAMPLE"
date = "YYYY-MM-DD"
description = "EXAMPLE"
tags = [
"EXAMPLE",
]
categories = [
"EXAMPLE",
]
series = ["EXAMPLE"]
aliases = ["EXAMPLE"]
image = "EXAMPLE.jpeg"
+++
and where EXAMPLE.jpeg
is located in the same $POSTNAME
directory.
(Example: ./content/posts/EXAMPLE-POST/
might contain the above ./content/posts/EXAMPLE-POST/index.md
and ./content/posts/EXAMPLE-POST/EXAMPLE.jpeg
)
Additionally, it is this image = "EXAMPLE.jpeg"
that becomes the article__image
I mentioned at the beginning and should fix your issue.
Very late thank you for your help! Managed to kickoff my blog thanks to your tip 🥇
Hello! Thank you for this beautiful template :) I'm trying to kickstart my blog with your template, but I haven't had any success yet for adding new posts. Could you please help me with the following questions?
1. How do I structure my content/ folder? I tried adding a test.md file under content, as well as _index.md, with following header, with no luck:
2. How do I structure the assets/ folder? I kept running into the "<$image.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink" error :/
I realize this are noob questions, but I couldn't find any way to make it work! Thank you :) Jeanine