소스 검색

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

master
Cian Butler 4 년 전
부모
커밋
8312b42404
Signed by untrusted user: butlerx GPG 키 ID: B37CA765BAA89170
1개의 변경된 파일23개의 추가작업 그리고 2개의 파일을 삭제
  1. +23
    -2
      README.md

+ 23
- 2
README.md 파일 보기

@@ -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


불러오는 중...
취소
저장