Updated README
This commit is contained in:
parent
8390b1b33a
commit
00df626d7b
1 changed files with 9 additions and 3 deletions
12
README.md
12
README.md
|
|
@ -23,15 +23,21 @@ You can change the logo as well with font-awesome icons. The default is set to `
|
||||||
|
|
||||||
### Changing pictures
|
### Changing pictures
|
||||||
|
|
||||||
Create an `img` folder in the static folder of your site -- **not** the theme's static folder. Add pictures to `/static/img` as needed. The background image should be named `bg.jpg`. The default names for the other images are `pic01.jpg`, `pic02.jpg`, and `pic03.jpg`, but you may use your own naming scheme when you edit `index.html`.
|
Create an `img` folder in the static folder of your site -- **not** the theme's static folder. Add pictures to `/static/img` as needed. If you want to change the background image, the replacement image should be named `bg.jpg`.
|
||||||
|
|
||||||
### Writing your pages
|
### Writing your pages
|
||||||
|
|
||||||
Since this theme uses modals instead of separate content pages, it is best to simply edit the `index.html` file to edit your site. Copy the `index.html` file to your `layouts` folder before editing. Follow the example pages in the `index.html` file and adjust as needed.
|
To create a new page, run the following command inside your Hugo sites:
|
||||||
|
|
||||||
|
$ hugo new your-page.md
|
||||||
|
|
||||||
|
Change `your-page` to what you want to name the file. There are three variables that you can change: `title`, `weight`, and `draft`. Weight is set to 0 by default, so be sure to change it.
|
||||||
|
|
||||||
|
You can also copy the pages from the exampleSite folder and modify those pages.
|
||||||
|
|
||||||
### Contact Form
|
### Contact Form
|
||||||
|
|
||||||
You will need to use an external service for the contact form since static sites cannot handle forms on their own. One such service is [Formspree](https://formspree.io/). Formspree has a free tier.
|
You will need to use an external service for the contact form since static sites cannot handle forms on their own. One such service is [Formspree](https://formspree.io/). Formspree has a free tier. Check out the `formspree.md` page in the exampleSite folder for a template.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue