mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Fix paths to indicate theme path and leave a note about it
This commit is contained in:
1 parent
50c24e070d
commit
0796957d1f
4 files changed
+15
-10
No files matched your search
@@ -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.
|
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" %}}
|
{{% code file="archetypes/functions.md" %}}
|
||||||
```yaml
|
```yaml
|
||||||
{{< readfile file="/archetypes/functions.md" >}}
|
{{< readfile file="/themes/hugo-docs-concept/archetypes/functions.md" >}}
|
||||||
```
|
```
|
||||||
{{% /code %}}
|
{{% /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
|
[RFC 3339 format]: https://www.ietf.org/rfc/rfc3339.txt
|
||||||
[taxonomies]: /content-management/taxonomies/
|
[taxonomies]: /content-management/taxonomies/
|
||||||
[lookup]: /templates/lookup/
|
[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" %}}
|
{{% code file="archetypes/functions.md" %}}
|
||||||
```yaml
|
```yaml
|
||||||
{{< readfile file="/archetypes/functions.md">}}
|
{{< readfile file="/themes/hugo-docs-concept/archetypes/functions.md">}}
|
||||||
```
|
```
|
||||||
{{% /code %}}
|
{{% /code %}}
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ The archetype for the `showcase` content type is as follows:
|
|||||||
|
|
||||||
{{% code file="archetypes/showcase.md" %}}
|
{{% code file="archetypes/showcase.md" %}}
|
||||||
```yaml
|
```yaml
|
||||||
{{< readfile file="/archetypes/showcase.md">}}
|
{{< readfile file="/themes/hugo-docs-concept/archetypes/showcase.md">}}
|
||||||
```
|
```
|
||||||
{{% /code %}}
|
{{% /code %}}
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ The archetype for the `tutorials` content type is as follows:
|
|||||||
|
|
||||||
{{% code file="archetypes/tutorials.md" %}}
|
{{% code file="archetypes/tutorials.md" %}}
|
||||||
```yaml
|
```yaml
|
||||||
{{< readfile file="/archetypes/tutorials.md">}}
|
{{< readfile file="/themes/hugo-docs-concept/archetypes/tutorials.md">}}
|
||||||
```
|
```
|
||||||
{{% /code %}}
|
{{% /code %}}
|
||||||
|
|
||||||
@@ -392,4 +392,4 @@ Similar to [contributing to Hugo development](/contribute/development/), the Hug
|
|||||||
[hugodev]: /contribute/development/
|
[hugodev]: /contribute/development/
|
||||||
[shortcodeparams]: content-management/shortcodes/#shortcodes-without-markdown
|
[shortcodeparams]: content-management/shortcodes/#shortcodes-without-markdown
|
||||||
[sourceforge]: http://docutils.sourceforge.net/docs/ref/rst/directives.html#admonitions
|
[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" %}}
|
{{% code file="layouts/shortcodes/directoryindex.html" download="directoryindex.html" %}}
|
||||||
```html
|
```html
|
||||||
{{< readfile file="/layouts/shortcodes/directoryindex.html" >}}
|
{{< readfile file="/themes/hugo-docs-concept/layouts/shortcodes/directoryindex.html" >}}
|
||||||
```
|
```
|
||||||
{{% /code %}}
|
{{% /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:
|
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" %}}
|
{{% 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 %}}
|
{{% /code %}}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user