Skip to content

stephlocke/slamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLAMP ⚡

SLAMP is an AMP based Hugo theme that leverages the Google AMP CSS Framework to make a minimalist bootstrap style site.

AMP

AMP is a limited subset of functionality intended to deliver super light pages quickly and consistently. The use of AMP can lead to enhanced SEO and better engagement via social media.

Make sure to use only AMP based components for stuff like images!

-[ ] Add AMP component partials and shortcodes

You can configure which AMP JS components and templates are available in your config file.

-[ ] Document config better

Functionality

Key areas of functionality coded into this theme include:

  1. The generation of a full JSON index of the site used for search systems like Azure Cognitive Search
  2. Dynamic homepage based on config values of sections to include. Sections to be included can either be based on active or latest published date attributes. Only include sections in the active options if you're using a boolean active parameter in the content
  3. Extended SCSS and asset pipelines. Use the custom.scss file as an example to giving yourself complete control over the style (but remember it's AMP - there's a CSS size limit!)
  4. Purposefully cookie-less! Intended to be used with privacy friendly logging solutions like Netlify Analytics so the site loads quicker and you track less

-[ ] Implement search page and field