feat: add detection of the theme version and Hugo version (#173)
* feat: add detection of the theme version and Hugo version * fix: hugo.IsProduction is incompatible in Hugo v0.62.0
This commit is contained in:
@@ -76,7 +76,7 @@ comment: true
|
||||
```
|
||||
|
||||
* **title**: the title for the content.
|
||||
* **subtitle**: the subtitle for the content. **LoveIt :(fas fa-greater-than-equal): :(far fa-file-archive): 0.2.0**
|
||||
* **subtitle**: the subtitle for the content. {{< version 0.2.0 >}}
|
||||
* **date**: the datetime assigned to this page, which is usually fetched from the `date` field in front matter, but this behaviour is configurabl in the [site configuration](../theme-documentation-basics/#site-configuration).
|
||||
* **lastmod**: the datetime at which the content was last modified.
|
||||
* **draft**: if `true`, the content will not be rendered unless the `--buildDrafts`/`-D` flag is passed to the `hugo` command.
|
||||
|
||||
Reference in New Issue
Block a user