https://github.com/okwilkins/personal-website
This repo contains the code for my personal website, www.okwilkins.dev.
https://github.com/okwilkins/personal-website
hugo obsidian-md python website
Last synced: 5 months ago
JSON representation
This repo contains the code for my personal website, www.okwilkins.dev.
- Host: GitHub
- URL: https://github.com/okwilkins/personal-website
- Owner: okwilkins
- Created: 2019-08-07T13:46:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:03:27.000Z (6 months ago)
- Last Synced: 2024-10-30T02:44:21.461Z (6 months ago)
- Topics: hugo, obsidian-md, python, website
- Language: Python
- Homepage:
- Size: 3.06 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - okwilkins/personal-website - This repo contains the code for my personal website, www.okwilkins.dev. (Python)
README
[](https://github.com/okwilkins/personal-website/actions/workflows/gen-static-html.yml)
[](https://github.com/okwilkins/personal-website/actions/workflows/obsidian-export.yml)
[](https://github.com/okwilkins/personal-website/actions/workflows/python-tests.yml)
[](http://okwilkins.dev/)# Personal Website
[](https://gohugo.io/)
[](https://www.python.org/)
[](http://commonmark.org)
[](https://www.python.org/)Welcome to my personal website repo that houses the [content](./content/), [processing](./personal_website/) and [workflows](./.github/workflows/) for [okwilkins.dev](https://www.okwilkins.dev/). All content is written in [Markdown](http://commonmark.org) and using [Hugo](https://gohugo.io/), the Markdown is converted into static HTML. The static HTML for my website can be [found here](https://github.com/okwilkins/okwilkins.github.io).
On a daily schedule, the Markdown files found in my [Zettelcasten](https://zettelkasten.de/posts/overview/) based notes system are processed via [Obsidan Export](https://github.com/zoni/obsidian-export) and brought into this repo. Please take a look at this [repository for more information](https://github.com/okwilkins/knowledge-system).
Python is also used to process the headers of my notes, so that they will work with Hugo. I went a bit overboard with the over engineering, see [here](./personal_website/tests/) and [here](./personal_website/file_section_factories.py)!
## Running the Website
1. [Install Hugo](https://gohugo.io/overview/installing/)
2. Clone this repository```bash
git clone https://github.com/okwilkins/personal-website.git
cd personal-webite
```3. Run Hugo
```bash
hugo server --destination public
```## Exporting Obsidian Notes to Hugo
This project uses [Obsdian Export](https://github.com/zoni/obsidian-export) to export the notes that can be seen in the `content/knowledge-system/` directory. The `.export-ignore` file controls which files will be ignored during the export, for more, please [read here](https://github.com/zoni/obsidian-export#ignoring-files).
## Python Installation
This project uses Conda to manage Python dependencies. For the fastest way of obtaining conda, install [Miniconda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html). After installation, to install the dependencies, run this command in the root directory of the project:
```
conda env update environment.yml --prune
```