-
I have been testing the hugo-theme-relearn and it does an info box as can be seen at https://relearn.netlify.app/ The md code was
The generated html is
Is there a method to do this in the bootstrap theme ? Possibly something like a one row/one column html table ? |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
Sep 22, 2021
Replies: 2 comments
-
It can be implemented by creating custom shortcode. // layouts/shortcodes/notice.html
<div class="label">Info</div><p>{{ .Inner }}</p> // post.md
{{< notice >}}
msg
{{< /notice >}} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jehoshua7
-
@razonyang - Thanks, the code works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It can be implemented by creating custom shortcode.