Selaa lähdekoodia

Merge branch 'master' of github.com:redbrick/redbrick-hugo

master
Cian Butler 4 vuotta sitten
vanhempi
commit
8312b42404
Signed by untrusted user: butlerx GPG Key ID: B37CA765BAA89170
1 muutettua tiedostoa jossa 23 lisäystä ja 2 poistoa
  1. +23
    -2
      README.md

+ 23
- 2
README.md Näytä tiedosto

@@ -36,7 +36,9 @@ Open up the `config.yaml` file to change the configuration of your website
$ nano config.yaml
```

## Changing pictures
## Making it your own

### Changing images

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.

@@ -44,6 +46,26 @@ To get started you will want to add your own picutres for your avatar, banner an
* banner.jpg
* about.jpg

### Customising pages

* Change the baseURL ` baseURL: "http://www.redbrick.dcu.ie/~username/"` to inclue your username
* Change `title: A Redbrick users site` to the title of your main page
* You can also add your social media links in here after `link: '#'`

### Adding new pages
```
$ hugo new about.md
```

* This will generate a new page with some metadata all ready in it

Take a look at this new file with

```
$ cd content
$ nano about.md
```

## Building the Site

To build your site we type the command
@@ -51,7 +73,6 @@ To build your site we type the command
```
$ hugo
```

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


Ladataan…
Peruuta
Tallenna