https://github.com/danmurf/murfitt.net
Personal website and blog built using Hugo
https://github.com/danmurf/murfitt.net
Last synced: 5 months ago
JSON representation
Personal website and blog built using Hugo
- Host: GitHub
- URL: https://github.com/danmurf/murfitt.net
- Owner: danmurf
- Created: 2022-04-17T07:54:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-12-20T09:59:20.000Z (6 months ago)
- Last Synced: 2025-12-22T15:25:33.401Z (6 months ago)
- Language: HTML
- Homepage: https://murfitt.net
- Size: 3.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Murfitt.net
To build all content, including drafts, and run a web server:
```shell
hugo server --buildDrafts
```
To create a new blog post:
```shell
hugo new blog/my-blog.md
```
To create a new blog post which contains images, you will need to create the post in a directory:
```shell
hugo new blog/my-blog/index.md
```
You can then add an image file to that directory, and refer to it as the cover photo:
```yaml
---
title: "My Blog"
date: 2023-09-03T08:39:41+01:00
draft: true
cover:
responsiveImages: true # will generate responsive images automatically
relative: true # needed so that the meta data image path works
image: "images/featured.jpg" # path relative to the new folder you created. E.g. ./blog/my-blog/images/featured.jpg
# image: https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png # can also be a direct external link
alt: "An image of ..."
caption: "A picture showing ..."
---
```