diff --git a/README.md b/README.md
index ad04c93f..b3919ffe 100644
--- a/README.md
+++ b/README.md
@@ -43,16 +43,16 @@ Change into the directory for your Hugo website, initialise a new repository and
```bash
cd mywebsite
git init
-git submodule add https://github.com/jpanther/hugo-congo.git themes/congo
+git submodule add https://github.com/jpanther/Congo.git themes/congo
```
_**Note:** You need to substitute `mywebsite` for the correct folder name you used in Step 2._
#### Install manually
-Download the latest version of the theme from: [https://github.com/jpanther/hugo-congo/archive/master.zip](https://github.com/jpanther/hugo-congo/archive/master.zip)
+Download the latest version of the theme from: [https://github.com/jpanther/Congo/archive/master.zip](https://github.com/jpanther/Congo/archive/master.zip)
-Extract the archive and you should have a folder named `hugo-congo-master`.
+Extract the archive and you should have a folder named `Congo-master`.
Rename the folder to `congo` and move it to the `themes/` directory inside your `mywebsite` folder.
diff --git a/exampleSite/static/mountains.jpg b/exampleSite/content/mountains.jpg
similarity index 100%
rename from exampleSite/static/mountains.jpg
rename to exampleSite/content/mountains.jpg
diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html
index da01c1cf..8b0c662c 100644
--- a/layouts/partials/icon.html
+++ b/layouts/partials/icon.html
@@ -1,4 +1,4 @@
- {{- $icon:=print "themes/congo/assets/icons/" . ".svg" -}}
- {{ readFile $icon | safeHTML }}
+ {{ $icon := resources.Get (print "icons/" . ".svg") }}
+ {{ $icon | safeHTML }}
diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html
index da01c1cf..8b0c662c 100644
--- a/layouts/shortcodes/icon.html
+++ b/layouts/shortcodes/icon.html
@@ -1,4 +1,4 @@
- {{- $icon:=print "themes/congo/assets/icons/" . ".svg" -}}
- {{ readFile $icon | safeHTML }}
+ {{ $icon := resources.Get (print "icons/" . ".svg") }}
+ {{ $icon | safeHTML }}
diff --git a/package-lock.json b/package-lock.json
index 6e69057b..90db93c2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,10 +1,11 @@
{
- "name": "hugo-congo",
+ "name": "congo",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
+ "name": "congo",
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
diff --git a/package.json b/package.json
index 47190e48..1c73a5cc 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "hugo-congo",
+ "name": "congo",
"version": "1.0.0",
"description": "Congo theme for Hugo",
"main": "index.js",
@@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/jpanther/hugo-congo.git"
+ "url": "git+https://github.com/jpanther/Congo.git"
},
"keywords": [
"hugo",
@@ -20,9 +20,9 @@
"author": "James Panther",
"license": "MIT",
"bugs": {
- "url": "https://github.com/jpanther/hugo-congo/issues"
+ "url": "https://github.com/jpanther/Congo/issues"
},
- "homepage": "https://github.com/jpanther/hugo-congo#readme",
+ "homepage": "https://github.com/jpanther/Congo#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.4.1",
"prettier": "^2.3.2",