2023-06-11 06:50:41 +00:00
|
|
|
<div align="center">
|
|
|
|
<img alt="logo" src="static/img/coolkid.png" width="100" />
|
|
|
|
</div>
|
|
|
|
<h1 align="center">
|
|
|
|
<a href="https://kjelsrud.dev">kjelsrud.dev</a>
|
|
|
|
</h1>
|
|
|
|
<p align="center">
|
|
|
|
My personal website, made with <a href="https://gohugo.io/">Hugo</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
## 📝 Info
|
2023-04-14 09:18:14 +00:00
|
|
|
|
|
|
|
### What I've learned from the project so far
|
|
|
|
|
2023-06-05 10:31:23 +00:00
|
|
|
- Coding with html and css
|
2023-06-11 06:50:41 +00:00
|
|
|
- How to use Git
|
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
|
|
|
|
2023-06-11 06:50:41 +00:00
|
|
|
### Features
|
2023-04-14 09:18:14 +00:00
|
|
|
|
2023-06-11 06:50:41 +00:00
|
|
|
- CV
|
|
|
|
- Blog
|
|
|
|
- Logs
|
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:
|
2023-06-11 06:50:41 +00:00
|
|
|
- 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-06-11 06:50:41 +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-06-11 06:50:41 +00:00
|
|
|
## 🫶 Misc
|
2023-04-14 09:18:14 +00:00
|
|
|
|
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
|