-
-
hugo/layouts/shortcodes/inline-image.html (Diff revision 1) I think it would be better if we could do
<a href="{{ .Site.BaseURL }}{{ .Get 1 }}">
so that we don't have to hardcode the full url in the second parameter of the shortcode (with this change the shortcode would be{{< inline-image "/images/rss.png"" "post/index.xml" "rss" >}}
.
Add an RSS link to the blog post page
Review Request #1024 — Created Oct. 10, 2021 and submitted
Add an RSS link to the blog post page
Ran
hugo server
and verified everything was working.
Summary | ID |
---|---|
b4562a5438bb1279c87d3c8a740a3c30dfc685a9 |
Description | From | Last Updated |
---|---|---|
I think it would be better if we could do <a href="{{ .Site.BaseURL }}{{ .Get 1 }}"> so that we … |
sorvival |
Change Summary:
remove
!important
's and use{{ .Site.BaseURL}}
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+6 -2) |