mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 23:04:45 -04:00
Comment out path frontM override in cm-organization page temporarily
This commit is contained in:
parent
d163576c41
commit
86f36c385c
@ -198,9 +198,11 @@ layout: mylayout
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
### `path`
|
||||
|
||||
`path` can be provided in the front matter. This will replace the actual path to the file on disk. Destination will create the destination with the same path, including the section.
|
||||
<!-- See https://discuss.gohugo.io/t/path-not-works/6387 -->
|
||||
<!-- ### `path`
|
||||
|
||||
`path` can be provided in the front matter. This will replace the actual path to the file on disk. Destination will create the destination with the same path, including the section. -->
|
||||
|
||||
### `url`
|
||||
|
||||
|
@ -267,7 +267,7 @@ hugo config | FINDSTR /I canon
|
||||
|
||||
In addition to specifying permalink values in your site configuration for different content sections, Hugo provides even more granular control for individual pieces of content.
|
||||
|
||||
Both `slug` and `url` can be defined in individual front matter. For more information on content destinations at build time, seee [Content Organization][contentorg].
|
||||
Both `slug` and `url` can be defined in individual front matter. For more information on content destinations at build time, see [Content Organization][contentorg].
|
||||
|
||||
## Relative URLs
|
||||
|
||||
|
@ -305,7 +305,7 @@ Notice how once we have entered the loop (i.e. `range`), the value of `{{ . }}`
|
||||
`$` has special significance in your templates. `$` is set to the starting value of `.` ("the dot") by default. This is a [documented feature of Go text/template][dotdoc]. This means you have access to the global context from anywhere. Here is an equivalent example of the preceding code block but now using `$` to grab `.Site.Title` from the global context:
|
||||
|
||||
{{% code file="range-through-tags-w-global.html" %}}
|
||||
```html
|
||||
```hbs
|
||||
<ul class="tags">
|
||||
{{ range .Params.tags }}
|
||||
<li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user