This theme was inspired by Cactus Theme but I wanted a timeline for my portfolio and found something I could use from SPECTRE.CSS. I also changed most of the initial theme design to be something more similar to the Material Design. The pixel style switch was something I just did for fun to represent my passion in the game industry, and since I don't see much themes with a theme switch, I thought it'll be good to leave it for others to use.
- Install Hugo
- Create a new site (replace
MySite
with your site's name). More info at Hugo docs
hugo new site MySite
cd MySite
- Clone this repository
git clone --recursive https://github.com/st-wong/hugo-spectre-pixel-theme.git themes/spectre-pixel
- Configure
Use your favourite editor to configure
config.toml
. More details in Configuration.
vim config.toml
- Test site (please make sure you're in the
MySite
folder)
hugo server -t spectre-pixel
- Enjoy!
- config.toml
There's a config (config.toml
) in theexampleSite
folder which you can use, just change the details and display texts to suit your needs. Remember to copy the file to yourMySite
folder once you're done editing the details. - About page
Edit the_index.md
file in theexampleSite/content/about
folder to give more details about yourself. It can contain your skillsets with Devicons using the provided shortcode{{< tag javascript >}}
. However, the shortcode generates links to tags which need to exist in your posts' tags or a 404 page will be displayed. - Styling
Edit thestyle.css
file in thestatic/css
folder to change the fonts & colors as you please. You can use color palettes from LOSPEC for the pixel theme. Finally, please make sure theurl("../images/avatar.png")
&url("../images/pixel.png")
are pointing to absolute URLs instead. E.g.https://YOUR_DOMAIN_NAME.com/images/avatar.png
&https://YOUR_DOMAIN_NAME/images/pixel.png
Found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or directly make a pull request. Please create a separate branch for your pull request.
This theme is released under the MIT license. For more information read the license.