Minimal blog/portfolio theme with a focus on content creation and SEO best practices. An ideal choice for technical users jump-starting a personal brand.
Describe the bug
In render-image.html, target image file is $resized, where $resized is fetched with with (.Page.Resources.ByType "image").GetMatch (printf "**%s" $src).
However, if the image asset directory contains 2.jpg and 12.jpg, markdown ![](./img./2.jpg) unexpectedly renders 12.jpg, which "**%s matches first.
To Reproduce
Steps to reproduce the behavior:
In /content/posts/test directory, create index.md and img directory.
Create 2.jpg and 12.jpg in img directory.
Write ![](./img/2.jpg) inindex.md`.
See 12.jpg is rendered instead of 2.jpg
Expected behavior2.jpg is rendered.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Ubuntu, 6.2.0-26-generic
Browser: Chrome
Version:
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug In
render-image.html
, target image file is$resized
, where$resized
is fetched withwith (.Page.Resources.ByType "image").GetMatch (printf "**%s" $src)
. However, if the image asset directory contains2.jpg
and12.jpg
, markdown![](./img./2.jpg)
unexpectedly renders12.jpg
, which"**%s
matches first.To Reproduce Steps to reproduce the behavior:
/content/posts/test
directory, createindex.md
andimg
directory.2.jpg
and12.jpg
inimg
directory.![](./img/2.jpg) in
index.md`.12.jpg
is rendered instead of2.jpg
Expected behavior
2.jpg
is rendered.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.