mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
Move all files to theme
This commit is contained in:
commit
850a08a44b
1173 files changed
+17
-12
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.
|
||||
|
||||
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
|
||||
+1
-1
@@ -31,7 +31,7 @@ stepAnalysis = true
|
||||
# This is the top-level, global site title
|
||||
title = "Hugo"
|
||||
# Change this once you've created your theme
|
||||
theme = ""
|
||||
theme = "hugo-docs-concept"
|
||||
# Set to true to convert mysite/section/ to mysite/section.html
|
||||
uglyURLs = false
|
||||
verbose = false
|
||||
|
||||
@@ -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 %}}
|
||||
|
||||
@@ -108,4 +108,4 @@ And here is the result as [called directly in the Hugo docs][] and rendered for
|
||||
[sc]: /content-management/shortcodes/
|
||||
[sct]: /templates/shortcode-templates/
|
||||
[readfilesource]: https://github.com/spf13/hugo/blob/master/docs/layouts/shortcodes/readfile.html
|
||||
[testfile]: https://github.com/spf13/hugo/blob/master/docs/testfile
|
||||
[testfile]: https://github.com/spf13/hugo/blob/master/docs/testfile
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 1173 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user