Arif
1
Is this format correct? If it is, how does one call the translated images in templates and markdown?
└───content
│ _index.fr.md
│ _index.md
│
└───blog
│ _index.fr.md
│ _index.md
│
└───hugo-tips
featured.fr.jpg
featured.jpg
_index.fr.md
_index.md
Note: The solution here comes close for markdown. But how can it be modified to factor in resized images?
Arif
2
For markdown pages
For templates
{{- with or (.Resources.Get "featured.*" ) (Resources.Get "featured.fr.*") }}
<!--- All the image code goes here -->
{{- end }}
system
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.