Comments (5)
Oh well. The page bundle page was enlightening. I did not create a sub-folder for the different project pages. After doing so and renaming the pages to index.md it worked flawlessly.
from congo.
Interesting... where is the image file located? The shortcode uses Hugo page bundles and so it expects the image to be a resource that is associated with the content that you are using it in.
from congo.
Hi @jpanther -- I ran into this issue just now as well. Can we add a blurb on the shortcodes doc page explaining the usage of figure
and screenshot
?
If you think this makes sense, I can give it a shot.
from congo.
I also ran into this problem with images located in /static
which are not "resources".
The shortcode that this overrides does not mention this limitation.
from congo.
Hello,
I would like to render a figure in layouts/partials/home/custom.html
{{< figure src="image.svg" >}}
The image is located in the assets/
But, when building, I am getting an error:
parse failed: template: partials/home/custom.html:16: unexpected "<" in command
May I have a suggestion how to fix this, please.
Thank you!
from congo.
Related Issues (20)
- article.sharingLinks needs to replace "twitter" with "X-twitter"
- Extra space after [ when using links HOT 2
- Author image does not render in profile homepage or author footer info HOT 5
- Congo theme error function "hasSuffix" not defined HOT 6
- Copy from code block appends a newline for every line HOT 3
- HTML Table not filling width at `md` size viewport and above
- Featured images overlapping with page title when article metadata hidden HOT 8
- Inconsistent picture rendering HOT 1
- Error calling first: can't iterate over maps.Params HOT 3
- The thumbnail images, or cover images are not showing HOT 2
- enableImageWebp breaks animated GIF files HOT 3
- Add Threads support
- Next article pagination link animation is inverted
- Non-existent two-part path results with 404 page which doesn't load css and js files HOT 2
- Emoji are rendered inside code blogs
- Unexpected blank line when using multiple lines in an alert box HOT 1
- [docs] Link to configuration files triggers Google Unsafe warning
- Images aren't showing when used in the non-default language HOT 2
- Featured picture overlaps with the title if turning off reading time and post date
- Images are not showing up at all while following congo @ 5c8ab32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from congo.