diff --git a/README.md b/README.md index 3aab81a1f..18ac3e9bc 100644 --- a/README.md +++ b/README.md @@ -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... \ No newline at end of file +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 diff --git a/content/content-management/archetypes.md b/content/content-management/archetypes.md index 119eae772..c83f17960 100644 --- a/content/content-management/archetypes.md +++ b/content/content-management/archetypes.md @@ -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/ \ No newline at end of file +[templates]: /templates/ diff --git a/content/contribute/documentation.md b/content/contribute/documentation.md index d2034c471..a693a4022 100644 --- a/content/contribute/documentation.md +++ b/content/contribute/documentation.md @@ -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/ \ No newline at end of file +[templating function]: /functions/ diff --git a/content/templates/files.md b/content/templates/files.md index 37eb68781..b8d8ced0c 100644 --- a/content/templates/files.md +++ b/content/templates/files.md @@ -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 %}}