mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
And notice shortcodes (#537)
* Added information panel shortcodes (#437) * Added information panel shortcodes * Fixed dark mixin * Moved mixin location to correct location Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix SCSS styling * Update generated files * Fix notice HTML * Fix Makefile * Rename JS file * Adsd emoji support for lang selectors * Fix notices and other things * Fix JS on template * Update example content * Update images * Update generated files * Fix netlify preview * Fix netlify preview build * Fix netlify theme path Co-authored-by: Jian Liew <jianloongliew@gmail.com>
This commit is contained in:
committed by
GitHub
parent
32ffc536aa
commit
ed1c854df2
43
exampleSite/content/posts/more-rich-content.md
Normal file
43
exampleSite/content/posts/more-rich-content.md
Normal file
@@ -0,0 +1,43 @@
|
||||
+++
|
||||
author = "Hugo Authors"
|
||||
title = "More Rich Content"
|
||||
date = "2019-03-09"
|
||||
description = "A brief description about Hugo Coder's Custom Shortcodes"
|
||||
tags = [
|
||||
"shortcodes"
|
||||
]
|
||||
+++
|
||||
|
||||
Hugo Coder provides some Custom Shortcodes.
|
||||
<!--more-->
|
||||
---
|
||||
|
||||
## Shortcodes Avisos
|
||||
|
||||
{{< notice note >}}
|
||||
One note here.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice tip >}}
|
||||
I'm giving a tip about something.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice example >}}
|
||||
This is an example.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice question >}}
|
||||
Is this a question?
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice info >}}
|
||||
Notice that this box contain information.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice warning >}}
|
||||
This is the last warning!
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice error >}}
|
||||
There is an error in your code.
|
||||
{{< /notice >}}
|
||||
Reference in New Issue
Block a user