We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi , I follow the "exampleSite/content/agb.md" for designing single page.
I would like to include images and youtube videos.
Question1: is there any custom tag for IMAGE and Videos, like below, {{% subtitle5 " My subtile" %}}
or should i use html tag?
Question2: Where i should i place the images?
Thanks suresh
The text was updated successfully, but these errors were encountered:
@sureshkvl There are standard hugo shortcodes. For youtube it should be:
{{< youtube w7Ft2ymGmfc >}}
They also explain how to handle images:
Input: {{< figure src="/media/spf13.jpg" title="Steve Francia" >}}
{{< figure src="/media/spf13.jpg" title="Steve Francia" >}}
Output:
<figure> <img src="/media/spf13.jpg" /> <figcaption> <h4>Steve Francia</h4> </figcaption> </figure>
"/media" would be referring to your "static/media/" folder I believe. I'd recommend putting all static content in the static folder.
Hope this helps :)
Sorry, something went wrong.
Thanks for the explanation @nathanbiller! Closed as answered.
No branches or pull requests
Hi ,
I follow the "exampleSite/content/agb.md" for designing single page.
I would like to include images and youtube videos.
Question1: is there any custom tag for IMAGE and Videos, like below,
{{% subtitle5 " My subtile" %}}
or should i use html tag?
Question2: Where i should i place the images?
Thanks
suresh
The text was updated successfully, but these errors were encountered: