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

6
.gitmodules vendored
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

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

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 %}}

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 %}}

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 %}}

@ -1 +0,0 @@
Subproject commit cc0576b7982694e5b3b8c7ba0ec9ac31c504ee49

1
themes/gohugoioTheme Submodule

@ -0,0 +1 @@
Subproject commit e0fa554815f403e973151ec84d958a63f46829fa