All Projects → gesquive → slate

gesquive / slate

Licence: MIT license
a single-page speed-dial theme for Hugo

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects
Makefile
30231 projects

Projects that are alternatives of or similar to slate

hugo-alageek-theme
A Cocoa Enhanced based theme. It's rewritten with Bootstrap 5.
Stars: ✭ 57 (-59.29%)
Mutual labels:  hugo-theme, hugo
hugo-chart
a Chart.js component for Hugo. 📈
Stars: ✭ 71 (-49.29%)
Mutual labels:  hugo-theme, hugo
mogege
A blog theme for hugo
Stars: ✭ 81 (-42.14%)
Mutual labels:  hugo-theme, hugo
newsroom
A simple, minimalistic Hugo theme. View Demo here
Stars: ✭ 200 (+42.86%)
Mutual labels:  hugo-theme, hugo
hugo-now
a Hugo port of Jekyll Now
Stars: ✭ 16 (-88.57%)
Mutual labels:  hugo-theme, hugo
bulma
Bulma is a simple and a responsive Hugo theme that offers a traditional blog mixed with a landing page designed to bootstrap your frontend!.
Stars: ✭ 41 (-70.71%)
Mutual labels:  hugo-theme, hugo
hucore
Minimal blog theme for hugo based on Hemingway2
Stars: ✭ 66 (-52.86%)
Mutual labels:  hugo-theme, hugo
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+4822.14%)
Mutual labels:  hugo-theme, hugo
liva-hugo
Liva is a personal blog template powered by Hugo.
Stars: ✭ 192 (+37.14%)
Mutual labels:  hugo-theme, hugo
whiteplain
Simple and Functional Hugo theme.
Stars: ✭ 95 (-32.14%)
Mutual labels:  hugo-theme, hugo
internet-weblog
internet weblog theme for Hugo
Stars: ✭ 33 (-76.43%)
Mutual labels:  hugo-theme, hugo
twenty-twenty-hugo
Twenty Twenty Hugo is forked from WordPress Twenty Twenty theme. It's fully functional like the WordPress theme.
Stars: ✭ 48 (-65.71%)
Mutual labels:  hugo-theme, hugo
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (-65.71%)
Mutual labels:  hugo-theme, hugo
hugo-zen
Hugo Zen is a minimal hugo theme.
Stars: ✭ 90 (-35.71%)
Mutual labels:  hugo-theme, hugo
hugo-theme-minima
A clean and minimal Hugo theme.
Stars: ✭ 70 (-50%)
Mutual labels:  hugo-theme, hugo
uBlogger
A template designed with your readers in mind ❤️
Stars: ✭ 242 (+72.86%)
Mutual labels:  hugo-theme, hugo
hugo-lime
Hugo Lime is a business theme for GoHugo by https://uicard.io
Stars: ✭ 31 (-77.86%)
Mutual labels:  hugo-theme, hugo
showcase-hugo-theme
Showcase is a minimal, single page theme for Hugo
Stars: ✭ 54 (-61.43%)
Mutual labels:  hugo-theme, hugo
starter-hugo-research-group
👥 轻松创建研究组或组织网站 Easily create a stunning Research Group, Team, or Business Website with no-code
Stars: ✭ 148 (+5.71%)
Mutual labels:  hugo-theme, hugo
basics
Hugo theme. Now available from official hugo theme site!
Stars: ✭ 49 (-65%)
Mutual labels:  hugo-theme, hugo

slate theme for hugo

slate is a single-page speed dial theme for Hugo. Supports using image logos or url text for the contents of the tiles.

Examples

You can visit a live demo at https://gesquive.github.io/hugo-slate-demo/ or view screen shots of the Image and Text tile display modes.

Features

  • Rotating image background
  • Image and Text tile display mode
  • Tag based navigation/filtering

Installation

Installing this theme

mkdir themes
cd themes
git clone https://github.com/gesquive/slate

Build with this theme

hugo server -t slate

Configuration

The following configuration site params are available:

  • BackgroundImages: (optional) specifies a list of backgrounds to rotate through, if not provided, then the specified background style will be used
  • BackgroundStyle: (optional) The background CSS style to use. (default value is radial-gradient(ellipse farthest-side at center top, #FCFCFC 0%, #657383 100%))
  • OpenLinksInNewWindow: (optional) boolean to set if tile links open in a new window/tab. (default values is false)
  • Favicon: (optional) path to the favicon

config.toml

baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "slate"

[ params ]
BackgroundImages = [
  "bg/b1920-000.jpg",
  "bg/b1920-001.jpg",
  "bg/b1920-002.jpg",
  "bg/b1920-003.jpg",
  "bg/b1920-004.jpg"
]
BackgroundStyle = "#000000;"
OpenLinksInNewWindow = true
Favicon = "favicon.ico"

# list of nav tags
[[ params.nav ]]
name = "favorites"
tag = "favorite"
icon = "star"

Example : config.toml

Links

All links are defined in the data/links.yml data file. Valid attributes are:

  • name: the name displayed below the tile, also used as tile text if javascript is disabled in the client browser.
  • url: the url href, also used for text when no img is specified
  • tags: (optional) list of tags to apply to this tile
  • img: (optional) path to tile image, this will replace any text in the tile
  • txt_color: (optional) css used to set the color of a tile, a random value is chosen if none is specified
  • bg_color: (optional) css used to set the background-color of a tile.

Example of link definitions in the data file.

tiles:
-
  name: 'google'
  url: 'https://google.com'
  img: 'google.svg'
  tags: ['favorite', 'search']
-
  name: 'bing'
  url: 'https://bing.com'
  img: 'bing.svg'
  txt_color: '#ffffff'
  bg_color: '#ffb900'
  tags: ['search']
-
  name: 'amazon'
  url: 'https://amazon.com'
  img: 'amazon.svg'
  bg_color: '#ffffff'
  txt_color: '#ff9900'
  tags: ['favorite', 'shopping']
-
  name: 'reddit'
  url: 'https://reddit.com'
  img: 'reddit.svg'
  bg_color: '#5f99cf'
  txt_color: '#ffffff'
-
  name: 'spotify'
  url: 'https://web.spotify.com'
  img: 'spotify.svg'
  bg_color: '#191414'
  txt_color: '#1db954'
  tags: ['favorite', 'music']
-
  name: 'google music'
  url: 'https://play.google.com/music/listen'
  img: 'google-music.png'
  bg_color: '#ffffff'
  txt_color: '#ff5722'
  tags: ['music']
-
  name: 'pandora'
  url: 'https://pandora.com'
  img: 'pandora.svg'
  bg_color: '#005483'
  txt_color: '#ffffff'
  tags: ['music']

Navigation

Along the left side of the screen is a navigation bar that can be used to filter the links. The filtering occurs on the tag attribute of the links. For example, when the 'favorite' tag is selected, only the links with the 'favorite' tag attribute will be shown.

A nav filter is defined as:

  • name: The name displayed in the UI
  • tag: the tag name to filter links with
  • icon: the font-awesome name of the icon to display

Example of a menu definition in main config file.

[[ params.nav ]]
name = "favorites"
tag = "favorite"
icon = "star"

[[ params.nav ]]
name = "search"
tag = "search"
icon = "search"

[[ params.nav ]]
name = "shopping"
tag = "shopping"
icon = "shopping-basket"

[[ params.nav ]]
name = "music"
tag = "music"
icon = "headphones"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].