Move the theme to the new org

* Swap out old theme for new (moved/renamed) theme

* Fix hardcoded links to theme assets

See PR rdwatters/hugo-docs-concept#143
This commit is contained in:
Bud Parr
2017-06-15 11:55:39 -04:00
committed by Ryan Watters
parent 481850c9f5
commit d4e8ea3e63
7 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -1,3 +1,3 @@
[submodule "themes/gohugo-theme"]
path = themes/gohugo-theme
url = https://github.com/budparr/gohugo-theme.git
[submodule "themes/gohugoioTheme"]
path = themes/gohugoioTheme
url = https://github.com/gohugoio/gohugoioTheme.git
+1 -1
View File
@@ -31,7 +31,7 @@ stepAnalysis = true
title = "Hugo"
# Change this once you've created your theme
theme = "gohugo-theme"
theme = "gohugoioTheme"
# Set to true to convert mysite/section/ to mysite/section.html
uglyURLs = false
+1 -1
View File
@@ -180,7 +180,7 @@ As an example of archetypes in practice, the following is the `functions` archet
{{% code file="archetypes/functions.md" %}}
```yaml
{{< readfile file="/themes/gohugo-theme/archetypes/functions.md" >}}
{{< readfile file="/themes/gohugoioTheme/archetypes/functions.md" >}}
```
{{% /code %}}
+2 -2
View File
@@ -56,7 +56,7 @@ The archetype for `functions` according to the Hugo theme is as follows:
{{% code file="archetypes/functions.md" %}}
```yaml
{{< readfile file="/themes/gohugo-theme/archetypes/functions.md">}}
{{< readfile file="/themes/gohugoioTheme/archetypes/functions.md">}}
```
{{% /code %}}
@@ -108,7 +108,7 @@ The archetype for the `tutorials` content type is as follows:
{{% code file="archetypes/tutorials.md" %}}
```yaml
{{< readfile file="/themes/gohugo-theme/archetypes/tutorials.md">}}
{{< readfile file="/themes/gohugoioTheme/archetypes/tutorials.md">}}
```
{{% /code %}}
+3 -3
View File
@@ -38,7 +38,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="/themes/gohugo-theme/layouts/shortcodes/directoryindex.html" >}}
{{< readfile file="/themes/gohugoioTheme/layouts/shortcodes/directoryindex.html" >}}
```
{{% /code %}}
@@ -50,7 +50,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="/themes/gohugo-theme/static/dist" pathURL="/css" >}}
{{< directoryindex path="/themes/gohugoioTheme/static/dist" pathURL="/css" >}}
{{% note "Slashes are Important" %}}
The initial slash `/` in `pathURL` is important in the `directoryindex` shortcode. Otherwise, `pathURL` becomes relative to the current web page.
@@ -82,7 +82,7 @@ Here is the templating for our new `readfile` shortcode:
{{% code file="layouts/shortcodes/readfile.html" download="readfile.html" %}}
```
{{< readfile file="/themes/gohugo-theme/layouts/shortcodes/readfile.html">}}
{{< readfile file="/themes/gohugoioTheme/layouts/shortcodes/readfile.html">}}
```
{{% /code %}}