mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
feat: add support for emoji lists
With new `emoji_list` shortcode. For example: ``` {{% emoji_list %}} - 🔥 sdf - 🔥 sdf - 🔥 sdf {{% /emoji_list %}} ```
This commit is contained in:
parent
dbeee61620
commit
211d8b330b
4 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,11 @@ module:
|
|||
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
|
||||
outputs:
|
||||
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
|
||||
markup:
|
||||
defaultMarkdownHandler: goldmark
|
||||
goldmark: {renderer: {unsafe: true}}
|
||||
highlight: {codeFences: false}
|
||||
tableOfContents: {startLevel: 2, endLevel: 3}
|
||||
disableAliases: true
|
||||
taxonomies: []
|
||||
params:
|
||||
|
|
|
@ -26,6 +26,7 @@ Built upon the open source [Netlify CMS](https://www.netlifycms.org/) and [Netli
|
|||
- wowchemycms_config
|
||||
- HTML
|
||||
---
|
||||
|
||||
```
|
||||
|
||||
3. (Optional) If your Git repository's branch is **not** `main`, define it in `config/_default/params.toml`:
|
||||
|
|
|
@ -117,6 +117,10 @@ ul.task-list li input[type='checkbox'] {
|
|||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.emoji-list ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
/* Navigation bar text */
|
||||
.navbar-light {
|
||||
font-family: $sta-font-nav, sans-serif;
|
||||
|
|
1
wowchemy/layouts/shortcodes/emoji_list.html
Normal file
1
wowchemy/layouts/shortcodes/emoji_list.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="emoji-list">{{ .Inner }}</div>
|
Loading…
Add table
Add a link
Reference in a new issue