mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 10:24:49 -04:00
Fix paths to indicate theme path and leave a note about it
This commit is contained in:
parent
50c24e070d
commit
0796957d1f
@ -12,4 +12,9 @@ I originally posed a source reorganization of the current website in this Discus
|
||||
|
||||
I reorganized the docs content and realized it did very little to make the documentation more intelligible or intuitive.
|
||||
|
||||
So, I'm running with it...
|
||||
So, I'm running with it...
|
||||
|
||||
TODO:
|
||||
Fix theme /content/content-management/archetypes.md where theme is indicated
|
||||
Fix theme /content/contribute/documentation.md where theme is indicated
|
||||
Fix theme /content/templates/files.md where theme is indicated
|
||||
|
@ -175,7 +175,7 @@ As an example of archetypes in practice, the following is the `functions` archet
|
||||
|
||||
{{% code file="archetypes/functions.md" %}}
|
||||
```yaml
|
||||
{{< readfile file="/archetypes/functions.md" >}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/archetypes/functions.md" >}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
@ -192,4 +192,4 @@ The preceding archetype is kept up to date with every Hugo build by using Hugo's
|
||||
[RFC 3339 format]: https://www.ietf.org/rfc/rfc3339.txt
|
||||
[taxonomies]: /content-management/taxonomies/
|
||||
[lookup]: /templates/lookup/
|
||||
[templates]: /templates/
|
||||
[templates]: /templates/
|
||||
|
@ -51,7 +51,7 @@ The archetype for the `functions` content type is as follows:
|
||||
|
||||
{{% code file="archetypes/functions.md" %}}
|
||||
```yaml
|
||||
{{< readfile file="/archetypes/functions.md">}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/archetypes/functions.md">}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
@ -103,7 +103,7 @@ The archetype for the `showcase` content type is as follows:
|
||||
|
||||
{{% code file="archetypes/showcase.md" %}}
|
||||
```yaml
|
||||
{{< readfile file="/archetypes/showcase.md">}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/archetypes/showcase.md">}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
@ -143,7 +143,7 @@ The archetype for the `tutorials` content type is as follows:
|
||||
|
||||
{{% code file="archetypes/tutorials.md" %}}
|
||||
```yaml
|
||||
{{< readfile file="/archetypes/tutorials.md">}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/archetypes/tutorials.md">}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
@ -392,4 +392,4 @@ Similar to [contributing to Hugo development](/contribute/development/), the Hug
|
||||
[hugodev]: /contribute/development/
|
||||
[shortcodeparams]: content-management/shortcodes/#shortcodes-without-markdown
|
||||
[sourceforge]: http://docutils.sourceforge.net/docs/ref/rst/directives.html#admonitions
|
||||
[templating function]: /functions/
|
||||
[templating function]: /functions/
|
||||
|
@ -33,7 +33,7 @@ This shortcode creates a link to each of the files in a directory---display as t
|
||||
|
||||
{{% code file="layouts/shortcodes/directoryindex.html" download="directoryindex.html" %}}
|
||||
```html
|
||||
{{< readfile file="/layouts/shortcodes/directoryindex.html" >}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/layouts/shortcodes/directoryindex.html" >}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
@ -45,7 +45,7 @@ You can then call the shortcode as follows inside of your content's markup:
|
||||
|
||||
The above shortcode [is part of the code for the Hugo docs][dirindex]. Here it lists this site's CSS files:
|
||||
|
||||
{{< directoryindex path="/static/css" pathURL="/css" >}}
|
||||
{{< directoryindex path="/themes/hugo-docs-concept/static/css" pathURL="/css" >}}
|
||||
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ Here is the templating for our new `readfile` shortcode:
|
||||
|
||||
{{% code file="layouts/shortcodes/readfile.html" download="readfile.html" %}}
|
||||
```
|
||||
{{< readfile file="/layouts/shortcodes/readfile.html">}}
|
||||
{{< readfile file="/themes/hugo-docs-concept/layouts/shortcodes/readfile.html">}}
|
||||
```
|
||||
{{% /code %}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user