Adding hugo-notice
Admonitions
This commit is contained in:
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -3,4 +3,7 @@
|
|||||||
url = https://git.panaetius.co.uk/hugo/panaetius-theme
|
url = https://git.panaetius.co.uk/hugo/panaetius-theme
|
||||||
[submodule "blog/themes/panaetius-chunky-theme"]
|
[submodule "blog/themes/panaetius-chunky-theme"]
|
||||||
path = blog/themes/panaetius-chunky-theme
|
path = blog/themes/panaetius-chunky-theme
|
||||||
url = https://git.panaetius.co.uk/hugo/panaetius-chunky-theme
|
url = https://git.panaetius.co.uk/hugo/panaetius-chunky-theme
|
||||||
|
[submodule "blog/themes/hugo-notice-admonition"]
|
||||||
|
path = blog/themes/hugo-notice-admonition
|
||||||
|
url = https://git.panaetius.co.uk/hugo/hugo-notice-admonition
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
baseURL = "http://127.0.0.1:6060"
|
baseURL = "http://127.0.0.1:6060"
|
||||||
title = "panaetius.io"
|
title = "panaetius.io"
|
||||||
# theme = "panaetius-chunky-theme"
|
# theme = "panaetius-chunky-theme"
|
||||||
theme = "panaetius-theme"
|
theme = ["hugo-notice-admonition", "panaetius-theme"]
|
||||||
paginate = 2
|
paginate = 2
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"]
|
|||||||
|
|
||||||
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||||
|
|
||||||
|
## <!--more-->
|
||||||
|
|
||||||
## Test code
|
## Test code
|
||||||
|
|
||||||
```python
|
```python
|
||||||
@@ -69,3 +71,21 @@ Hugo adds no css to the table. In order to style it you should select the `<tabl
|
|||||||
| ------ | -------- |
|
| ------ | -------- |
|
||||||
| Daniel | Capacity |
|
| Daniel | Capacity |
|
||||||
| Dale | Capacity |
|
| Dale | Capacity |
|
||||||
|
|
||||||
|
## Admonitions
|
||||||
|
|
||||||
|
{{< notice note >}}
|
||||||
|
Note Admonition
|
||||||
|
{{< /notice >}}
|
||||||
|
|
||||||
|
{{< notice tip >}}
|
||||||
|
Tip Admonition
|
||||||
|
{{< /notice >}}
|
||||||
|
|
||||||
|
{{< notice info >}}
|
||||||
|
Infomation Admonition
|
||||||
|
{{< /notice >}}
|
||||||
|
|
||||||
|
{{< notice warning >}}
|
||||||
|
This is a warning notice. Be warned! `code`
|
||||||
|
{{< /notice >}}
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ function minifyImages(cb) {
|
|||||||
`${currentDir}/static/**/*.svg`,
|
`${currentDir}/static/**/*.svg`,
|
||||||
`${themeDir}/static/**/*.png`,
|
`${themeDir}/static/**/*.png`,
|
||||||
`${themeDir}/static/**/*.svg`,
|
`${themeDir}/static/**/*.svg`,
|
||||||
|
`${currentDir}/public/**/*.png`,
|
||||||
|
`${currentDir}/public/**/*.svg`,
|
||||||
])
|
])
|
||||||
.pipe(imagemin())
|
.pipe(imagemin())
|
||||||
.pipe(
|
.pipe(
|
||||||
|
|||||||
Reference in New Issue
Block a user