mirror of https://github.com/jpanther/congo.git
🐛 Fix up exampleSite and docs
parent
57784ce892
commit
7bb809545b
|
@ -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.
|
||||
|
||||
|
|
Before Width: | Height: | Size: 669 KiB After Width: | Height: | Size: 669 KiB |
|
@ -1,4 +1,4 @@
|
|||
<span class="relative inline-block align-text-bottom icon">
|
||||
{{- $icon:=print "themes/congo/assets/icons/" . ".svg" -}}
|
||||
{{ readFile $icon | safeHTML }}
|
||||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||
{{ $icon | safeHTML }}
|
||||
</span>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span class="relative inline-block align-text-bottom icon">
|
||||
{{- $icon:=print "themes/congo/assets/icons/" . ".svg" -}}
|
||||
{{ readFile $icon | safeHTML }}
|
||||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||
{{ $icon | safeHTML }}
|
||||
</span>
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue