All Projects → ribice → Kiss

ribice / Kiss

Licence: mit
Stupidly simple Hugo blogging theme

Projects that are alternatives of or similar to Kiss

Hugo Theme Noteworthy
A minimalist Hugo theme for writers and bloggers
Stars: ✭ 119 (-54.23%)
Mutual labels:  hugo, static-site, hugo-theme
hugo-initio
Hugo Theme port of Initio bootstrap template by GetTemplate
Stars: ✭ 58 (-77.69%)
Mutual labels:  hugo-theme, hugo, static-site
hugo-theme-mixedpaper
A Hugo theme
Stars: ✭ 17 (-93.46%)
Mutual labels:  hugo-theme, hugo, static-site
Hugo Theme Basic
Basic site theme styled with minimal tachyons, syntax highlighting, and blog series configuration. 📦
Stars: ✭ 89 (-65.77%)
Mutual labels:  hugo, static-site, hugo-theme
academia-hugo
Academia is a Hugo resume theme. You can showcase your academic resume, publications and talks using this theme.
Stars: ✭ 165 (-36.54%)
Mutual labels:  hugo-theme, hugo, static-site
hugo-theme-massively
Massively theme for Hugo static site generator
Stars: ✭ 113 (-56.54%)
Mutual labels:  hugo-theme, hugo, static-site
geeky-hugo
Geeky is a Personal Hugo blog theme focused on high speed. Geeky is fully responsive, Superfast, and powered by Bootstrap v5.
Stars: ✭ 44 (-83.08%)
Mutual labels:  hugo-theme, hugo, static-site
hugo-shortcodes-netlify-cms
Shortcodes of Hugo for Netlify CMS Text Editor
Stars: ✭ 50 (-80.77%)
Mutual labels:  hugo-theme, hugo
hugo-travelify-theme
Port of Aigars Silkalns's Wordpress theme Travelify to Hugo. Demo -
Stars: ✭ 34 (-86.92%)
Mutual labels:  hugo-theme, hugo
hugo-shopping-product-catalogue-simple
Hugo theme for shopping product catalogue
Stars: ✭ 45 (-82.69%)
Mutual labels:  hugo-theme, hugo
hugo-theme-lean-launch-page
A theme for people creating pre-launch pages for a product or business. Allows you to have a landing page while collecting emails.
Stars: ✭ 26 (-90%)
Mutual labels:  hugo-theme, hugo
hugo-theme-crisp
A minimalist, responsive, and open-source theme for Hugo ported from Ghost.
Stars: ✭ 35 (-86.54%)
Mutual labels:  hugo-theme, hugo
hugo-tufte
Content centric Hugo blogging theme styled with Tufte-Css
Stars: ✭ 58 (-77.69%)
Mutual labels:  hugo-theme, hugo
simple-a
Minimalistic Hugo theme
Stars: ✭ 52 (-80%)
Mutual labels:  hugo-theme, hugo
Blogpaper
A graphical newspaper like blog theme for Hugo.
Stars: ✭ 18 (-93.08%)
Mutual labels:  hugo-theme, hugo
vanilla-bootstrap-hugo-theme
A vanilla Bootstrap theme for Hugo
Stars: ✭ 63 (-75.77%)
Mutual labels:  hugo-theme, hugo
Binario
Responsive card-based & code-light Hugo theme
Stars: ✭ 79 (-69.62%)
Mutual labels:  hugo-theme, hugo
bookworm-light
Bookworm is a clean and modern Hugo blog theme focused on high speed and support multiple authors.
Stars: ✭ 59 (-77.31%)
Mutual labels:  hugo-theme, hugo
hugo-apero-docs
Apéro is a Hugo theme for personal websites. This is the documentation site, made with the theme 🍋
Stars: ✭ 56 (-78.46%)
Mutual labels:  hugo-theme, hugo
simpleit-hugo-theme
Responsive Hugo theme for hierarchical content websites
Stars: ✭ 16 (-93.85%)
Mutual labels:  hugo-theme, hugo

Kiss

Kiss is a stupidly simple blog theme for Hugo. It's a fork of Hemingway theme - read why.

Getting Started

Clone this repository to your hugo theme directory.

mkdir themes
cd themes
git clone https://github.com/ribice/kiss.git

Site Configuration

Take a look in the exampleSite folder.

This directory contains an example config file and the content for the demo. It serves as an example setup for your documentation.

Copy the config.toml in the root directory of your website. Overwrite the existing config file if necessary.

config.toml:

baseurl = "https://example.com"
languageCode = "en"
title = "Hugo Kiss theme"
theme = "kiss"
copyright = "&copy; <a href=\"https://github.com/ribice\">Emir Ribic</a> 2017"
disqusShortname = "shortname"
googleAnalytics = ""
Paginate = 5 # Number of posts per page
enableRobotsTXT = true

[params.rss] # Adding this tag enables RSS feed
includeContent = true # Includes whole content in rss
authorName = "Emir Ribic" # Author full name
authorEmail = "[email protected]" # Author email

[params.assets]
customCSS = ["css/custom.css"]

[params.info]
adsense = "" # Adsense ID (ID only, without ca-pub-)
enableSocial = true # Adds OpenGraph and Twitter cards
homeTitle = "" # Title for home page
poweredby = true # Adds powered by hugo and kiss below Copyright
related = true # Includes related articles at the bottom of the article
codeCopy = true # Add copy button above code blocks
taxonomiesCount = true # Add taxonomies count

[params.features]
disqusOnDemand = true  # Load Disqus comments on click


[params.opengraph.facebook]
admins = [] # array of Facebook IDs
appID = ""
pageID = ""

[params.opengraph.twitter]
page = "" # Twitter Page username. If not set, params.social.twitter will be used.

[params.social]
twitter = "ribicemir"
github = "ribice"
email = "[email protected]"
linkedin = "ribice"
facebook = "ribice"
instagram = ""
codepen = ""
rss = "index.xml" # Add this to show RSS button in social.

[params.social.config]
platforms = ["github","facebook","twitter","instagram","email","codepen","linkedin"]

[params.matomoAnalytics]
siteID = 1
rootURL = "//matomo.example.com/"

[params.fathomAnalytics]
rootURL = "//fathom.example.com/"

[taxonomies]
tag ="tags"

[blackfriday]
hrefTargetBlank = true

To change color of titles, add in static/css/custom.css

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    color: #F52AA3; // Custom Color
}

To align images, add #c for center, #r/l for right/left.

![](/img/1/image.jpg#c)

Changing Social Menu Icons Order

If you want to change the order of the social menu icons, modify the [params.social.config] section of your config.toml file:

[params.social.config]
platforms = ["github","facebook","twitter","instagram","email","codepen","linkedin"]

The social menu icons will appear in the order you specify in the platforms array.

Add sections

Links can be added to the navbar (below the blog name and social links). There are two positions:

  • [params.sections_left] that will add links in the left side (under the blog title)
  • [params.sections_right] that will add links in the right side (under the social links)
[params.sections_left]
"/special-page" = "Special page"
"https://example.com" = "Example"

[params.sections_right]
"http://example.com/special-page" = "Example"

Favicons, Browserconfig, Manifest

It is recommended to put your own favicons

  • apple-touch-icon.png (180x180)
  • favicon-32x32.png (32x32)
  • favicon-16x16.png (16x16)
  • mstile-150x150.png (150x150)
  • android-chrome-192x192.png (192x192)
  • android-chrome-512x512.png (512x512)

in /static directory. They're easily created via Favicon Generator.

Customize browserconfig.xml and site.webmanifest to set theme-color and background-color for example.

Related Articles

To include related articles in the bottom of the content, set params.info.related to true. By default up to 5 articles will be shown (can be changed by cloning related.html) and only older ones.

To change the behaviour of how related articles are generated, check official docs on Related Content.

Disqus Comments

Hugo has a built-in support for Disqus comments. In order to speed up your site full loading time you could load comments only after visitor requests them via clicking on the "Show comments" button. Use the following in the configuration to enable on demand loading:

[params.features]
disqusOnDemand = true 

Single Page Configuration

tags: ["Android", "Apple", "iPhone"] # Adds tags to the post
image: https://example.com/img/1/image.jpg # Cover used for OpenGraph and Twitter Cards
adsenseTop: true # If adsense property is set (params.info.adsense) include an ad above content
adsenseBottom: true # If adsense property is set (params.info.adsense) include an ad below content
hidden: true # If true, page will not be shown in the list view

Build

hugo server

You can go to localhost:1313 and this theme should be visible.

License

Kiss is licensed under the MIT license. Check the LICENSE file for details.

The following resources are included in the theme:

Author

Emir Ribic

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].