Browse Source

add theme installation to first website section

master
Cian Butler 4 years ago
parent
commit
5fff8e2478
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      README.md

+ 9
- 4
README.md View File

@@ -24,6 +24,11 @@ Jump into your new site and have a look around at the files
$ cd ~/my-website
$ ls -F
```
Install your theme
```
$ git clone git@github.com:redbrick/redbrick-hugo.git themes/redbrick-hugo
$ cp -r themes/redbrick-hugo/exampleSite/* .
```

Open up the `config.yaml` file to change the configuration of your website

@@ -33,7 +38,7 @@ $ nano config.yaml

## Changing pictures

To get started you will want to add your own picutres for your avatar, banner and about photos. To change these you will need to add these to your <code>/static/img/</code> folder.
To get started you will want to add your own picutres for your avatar, banner and about photos. To change these you will need to add these to your `/static/img/` folder.

* avatar.jpg
* banner.jpg
@@ -47,7 +52,7 @@ To build your site we type the command
$ hugo
```

This will output all the code into the <code>public</code> folder.
This will output all the code into the `public` folder.

*Note:* Hugo can be weird if you don't delete your public before you generate everytime

@@ -59,7 +64,7 @@ $ rm -rf public

This will _perminantly_ delete the public folder

You can also achieve the same thing by
You can also achieve the same thing by

```
$ hugo --cleanDestinationDir
@@ -70,7 +75,7 @@ $ hugo --cleanDestinationDir
If you wanna look at your site before you go and deplot it (recomended)

```
$ hugo server
$ hugo server
```

This will generate a site on localhost:1313

Loading…
Cancel
Save