Replies: 1 comment 1 reply
-
Good point. The idea is to generate a page specific image short code automatically (so you don't have to add it manually). It's meant to be there for your convenience. But yes, you should have a corresponding image in your page bundle, when setting I must admit, more often than not, I delete the short code myself immediately (for I don't use it). Since it could lead to confusion, I will then remove the short codes from the archetype files. What do you think? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like the archetype for docs always adds the shortcode for images:
{{< img src="{{ .Name | urlize }}.jpg" alt="{{ replace .Name "-" " " | title }}" caption="{{ replace .Name "-" " " | title }}" class="wide" >}}
This seems to lead to an error when disabling the draft mode.
What does this tag supposed to do? - Did I miss anything?
Example:
npm run create docs/archive/rules2.md
rules2.md
content is:draft: true
tagBeta Was this translation helpful? Give feedback.
All reactions