GithubHelp home page GithubHelp logo

panchoh / hugo-spectre-pixel-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from st-wong/hugo-spectre-pixel-theme

0.0 1.0 0.0 198 KB

License: MIT License

JavaScript 9.71% CSS 30.06% HTML 60.23%

hugo-spectre-pixel-theme's Introduction

Spectre Pixel Theme

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.

Using the theme

  1. Install Hugo
  2. Create a new site (replace MySite with your site's name). More info at Hugo docs
hugo new site MySite
cd MySite
  1. Clone this repository
git clone --recursive https://github.com/st-wong/hugo-spectre-pixel-theme.git themes/spectre-pixel
  1. Configure Use your favourite editor to configure config.toml. More details in Configuration.
vim config.toml
  1. Test site (please make sure you're in the MySite folder)
hugo server -t spectre-pixel
  1. Enjoy!

Configuration

  1. config.toml
    There's a config (config.toml) in the exampleSite folder which you can use, just change the details and display texts to suit your needs. Remember to copy the file to your MySite folder once you're done editing the details.
  2. About page
    Edit the _index.md file in the exampleSite/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.
  3. Styling
    Edit the style.css file in the static/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 the url("../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

Contributing

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.

License

This theme is released under the MIT license. For more information read the license.

Acknowledgements

Credits

hugo-spectre-pixel-theme's People

Contributors

st-wong avatar panchoh avatar sudomycelia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.