Skip to content

YuyingWu/fruhling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Frühling Theme

This Hugo theme has been developed for the Romka!eu blog, where you can find a comprehensive demo showcasing the usage of this theme. A simplified demo is available in this repository https://github.com/romka/fruhling-demo, its rendered version is deployed to GitHub Pages: https://romka.github.io/fruhling-demo/.

The theme utilizes the following JavaScript libraries:

Lightgallery is a free and open-source library. However, to use it legitimately for business, commercial sites, projects, and applications, you should purchase it and insert your license key into the configuration:

[lightgallery]
    licenseKey = 'your-license-key'

Features

The Frühling theme defines four post types:

  • two text-based types: blog and note,
  • and to photo-based types: gallery and story.

Each of the content types has a distinct template: blogs and galleries are designed to be more extensive than their counterparts --- notes and stories.

In addition to custom post templates, the theme introduces several shortcodes:

  • two types of galleries that can be embedded into a post: embedded-gallery and embedded-local-gallery. Galleries may contain both photos and videos,
  • several custom shortcodes for images,
  • the {{< more >}} shortcode, which inserts a div with the id #read-more, enabling users to navigate from the "read more" link to a custom position on a page.

For more details on available shortcodes, please refer to the layouts/shortcodes directory.

The theme is designed for users with a substantial number of photos to post. In the header, the theme displays a photomosaic block --- a row with random photos aggregated from all the photos available under the content directory. Each page may have its own photomosaic, but by default, for performance reasons, the number of generated photomosaics is limited, and this can be adjusted in the configuration file:

[photomosaic]
    numberOfUniqueMosaics = 25

About

Hugo Frühling Theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 69.6%
  • HTML 22.7%
  • JavaScript 7.7%