From 8f99f05a984f94b5ab8aa6af85f4e93d37464c6c Mon Sep 17 00:00:00 2001 From: "Md. Emruz Hossain" Date: Mon, 29 Jun 2020 23:36:01 +0600 Subject: [PATCH] Add "alert" shortcode (#17) --- README.md | 2 ++ layouts/shortcodes/alert.html | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 layouts/shortcodes/alert.html diff --git a/README.md b/README.md index 325e6d2..dd6335b 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ Here, are some handy shortcodes you can use with this theme. - [img](https://toha.netlify.app/posts/short-codes/img/) - [split](https://toha.netlify.app/posts/short-codes/split/) - [vs](https://toha.netlify.app/posts/short-codes/vs/) +- [alert](https://toha.netlify.app/posts/short-codes/alert/) ## Project Roadmap @@ -184,6 +185,7 @@ Here, are the current plan and progress of various components of this theme. The - [x] Image - [x] Split Page into Multiple Column - [x] Vertical space between two sections +- [x] Alert - [ ] Figure & sub-figure - [ ] Tabs diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html new file mode 100644 index 0000000..ee1eb02 --- /dev/null +++ b/layouts/shortcodes/alert.html @@ -0,0 +1,3 @@ +
+ {{.Inner | markdownify }} +