Skip to content

mpaluchowski/hugo-edge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge Hugo Theme

Edge is a Hugo theme for personal cycling websites. Originally built for my own site at https://cycling.paluchowski.com. For the time being it's very underdeveloped, because the blog that runs it has very litle content. With time, as the blog grows so will this theme, with more features.

Installation

Clone the repository to your /themes directory, ie.

$ cd /your/hugo/site
$ git clone https://github.com/mpaluchowski/hugo-edge themes/edge

Build the SASS files in /assets/css:

$ cd themes/edge
$ sass --no-source-map --style=compressed --update assets:assets

Then tell Hugo to render your site with the theme:

$ hugo --theme=edge

Customization

The theme is built primarily for my own use, so while it does offer some configuration and customization options, it will often impose a certain structure on you.

Shortcodes

strava-activity

Renders a single Strava activity:

{{< strava-activity id="840057488" hash="6a93a704064cb3cf22b266a1698cf9870fd1765a" >}}

Where id and hash are values you'll get when you open an activity, open the "Embed on Blog" dialog, which'll offer you an IFRAME code, with the values baked into the URL:

<iframe height='405' width='590' frameborder='0' allowtransparency='true' scrolling='no' src='https://www.strava.com/activities/<id>/embed/<hash>'></iframe>

About

Hugo theme for a cyclist's blog

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published