kjelsrud.dev/README.md

59 lines
1.7 KiB
Markdown
Raw Normal View History

2022-10-21 15:18:21 +00:00
# v.3 of my personal website
![Alt Text](https://media4.giphy.com/media/vvbGMpbhZMcHSsD50w/giphy.gif?cid=ecf05e47qcz9h0plmj7zmn71kelzs4h6nj47bb1qmu0r1uvm&rid=giphy.gif&ct=g)
2023-04-14 09:18:14 +00:00
## Info
### What I've learned from the project so far
2023-06-05 10:31:23 +00:00
- Coding with html and css
2023-04-14 09:18:14 +00:00
- Some understanding of Github Actions + Pages
- How to use some of the most popular open-source static site generators
- How to create websites that are faster, more secure, and easier to maintain
- How to use templates to generate static websites
2023-05-04 10:07:35 +00:00
- How to use DNS pointers (A- & CNAME records)
2023-06-05 10:31:23 +00:00
- How to create & use layouts for a static website
- How to write JSON-docs and use data from it
2023-04-14 09:18:14 +00:00
### Updates
- v.1 - basic html/css
2023-06-05 10:31:23 +00:00
- v.2 - same site as this repo, just couldn't figure out last repository
- v.3 - made new repo as I'm still learning Git, site works - I'm happy lol
2023-04-14 09:18:14 +00:00
### Future plans:
2023-06-05 10:31:23 +00:00
- [ ] Add a "foodwall" for my recipes
- [ ] Might convert website over to either:
- the hugo [cocoa](https://github.com/mtn/cocoa-eh-hugo-theme) theme, or
- a svelte version (to learn svelte), or
- a react version (to learn more react before internship)
2022-10-21 15:29:15 +00:00
2023-05-04 10:07:35 +00:00
## How do I run it locally?
2022-10-21 15:29:15 +00:00
2023-06-05 10:31:23 +00:00
1. [Hugo](https://gohugo.io/) must be installed
2023-05-13 09:53:39 +00:00
2. Clone the project and add submodules
```bash
git clone https://github.com/SindreKjelsrud/sindrekjelsrud.github.io.git
cd sindrekjelsrud.github.io
git submodule update --init --recursive
```
3. To run the project use: `hugo serve` (livereload \<3)
> 3.5. To add a new blogpost use: `hugo new blog-posts/{NameOfPost}.md`
4. Feel free to create issues if you see room for improvement!
2023-04-14 14:05:40 +00:00
2023-04-14 09:18:14 +00:00
## Misc
2022-10-21 15:29:15 +00:00
### Useful links
- Hugo functions - https://gohugo.io/functions/
### Powered by:
1. Hugo - https://gohugo.io/
2. PaperMod - https://github.com/adityatelange/hugo-PaperMod