mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
This commit is contained in:
@@ -86,9 +86,9 @@ Type
|
||||
Site
|
||||
: (`page.Site`) The current site object. See [details](/methods/site/).
|
||||
|
||||
## Alternate date format
|
||||
## Date format
|
||||
|
||||
To insert date and time with an alternate format, use the [`time.Now`] function:
|
||||
To insert date and time with a different format, use the [`time.Now`] function:
|
||||
|
||||
[`time.Now`]: /functions/time/now/
|
||||
|
||||
@@ -169,9 +169,9 @@ content/
|
||||
└── _index.md
|
||||
```
|
||||
|
||||
## Use alternate archetype
|
||||
## Specify archetype
|
||||
|
||||
Use the `--kind` command line flag to specify an alternate archetype when creating content.
|
||||
Use the `--kind` command line flag to specify an archetype when creating content.
|
||||
|
||||
For example, let's say your site has two sections: articles and tutorials. Create an archetype for each content type:
|
||||
|
||||
|
@@ -137,7 +137,7 @@ These are block equations:
|
||||
a^*=x-b^*
|
||||
\]
|
||||
|
||||
These are block equations using alternate delimiters:
|
||||
These are also block equations:
|
||||
|
||||
$$a^*=x-b^*$$
|
||||
|
||||
|
Reference in New Issue
Block a user