Developer portfolio and blog website made with Hugo and TailwindCSS. Live demo can be found at my personal site connorlim.net
Install required dependencies
npm run setup
Enter your site URL and title in config.yaml
.
baseURL: "https://example.com/"
title: "Site Name"
Edit config.yaml
. Put your name in the author
section. Enter your various email addresses and social media accounts under the social
section. Links will be auto-generated in the footer for each social item.
For the svg icon, enter the name of an svg file. The icon file should be stored at assets/icons/<icon-name>.svg
.
Note: the icon is REQUIRED
params:
author: Author
social:
- title: Email
url: mailto:[email protected]
svg: calendar
Edit data/homepage.yaml
to populate the portfolio on the home page.
- Change the giant welcome text and subtext on the homepage
heading: Heading
description: Description
- Enter some personal details about yourself in bullet point
aboutme:
- name: About Me Subheading 1
items:
- Hello World
- Enter your various developer skills
skills:
- name: Skill 1
svg: calendar
Each skill has a mandatory svg
field. The svg file has to be added at assets/icons/<icon-name>.svg
. Hugo will throw an error if the svg file is not found or the field is not filled.
Note that the icons are generated on the page by directly outputting the svg into the HTML source. You will have to modify the templates to use <img>
tags if you wish to use other file formats.
Additionally, Hugo live reload is not able to detect if you modify the svg file. You have to forcibly reload the server if you edit the svg file on disk
- Enter your working experience
experience:
- title: Job Title
subtitle: Employer
description: Description
startDate: 2020-01-01
endDate: 2020-01-01
- Fill in the various projects you would like to showcase.
projects:
- title: Project
description: Description
url: https://github.com/
tags:
- name: Skill name
svg: calendar
Put the relevant skills for the project under the tags
section. Hugo WILL throw an error if the icon is not found
- Enter your educational history
education:
- title: College
subtitle: Course
startDate: 2020-01-01
endDate: 2020-01-01
Place favicon-32x32.png
, favicon-16x16.png
, and favicon.ico
in the root of the static/
folder.
Run the Hugo dev server:
npm run dev
Generate minified static files for deployment. Files will be stored in public/
npm run build
Parts of this theme are taken from Dirk Olbrich's excellent Hugo Starter Theme with Tailwind CSS. Per the MIT license requirements, I have placed the license and Olbrich's copyright notice at the top of every file that is copied from his theme.
The MIT-licensed files are:
postcss.config.js
styles.css
dev-size-indicator.html
All other files are written are by me and licensed under the AGPLv3 (or any later version).