All Projects → zwbetz-gh → minimal-bootstrap-hugo-theme

zwbetz-gh / minimal-bootstrap-hugo-theme

Licence: MIT license
A minimal hugo theme made with bootstrap

Programming Languages

HTML
75241 projects

Projects that are alternatives of or similar to minimal-bootstrap-hugo-theme

hugo-search-fuse-js
Hugo theme component for implementing static site search using Fuse.js
Stars: ✭ 52 (-37.35%)
Mutual labels:  hugo
website
Bennett's personal website.
Stars: ✭ 16 (-80.72%)
Mutual labels:  hugo
forty
Forty theme - Hugo theme ported from HTML5UP origrinal theme called Forty.
Stars: ✭ 116 (+39.76%)
Mutual labels:  hugo
influencer-hugo
Influencer is a Hugo theme for book authors and writers. It has also Snipcart supports for order books and payments.
Stars: ✭ 66 (-20.48%)
Mutual labels:  hugo
aafu
Portfolio theme with blog
Stars: ✭ 32 (-61.45%)
Mutual labels:  hugo
hugo-identity-theme
Little profile/card-style template for Hugo. Based on Identity by HTML5 UP.
Stars: ✭ 87 (+4.82%)
Mutual labels:  hugo
HugoStructuredData
Collection of structured data snippets in Google preferred JSON-LD format, with support for Hugo
Stars: ✭ 33 (-60.24%)
Mutual labels:  hugo
make-a-hugo-blog-from-scratch
Take a wild guess
Stars: ✭ 40 (-51.81%)
Mutual labels:  hugo
miguelmota.github.com
My Hugo powered blog
Stars: ✭ 34 (-59.04%)
Mutual labels:  hugo
Huddy
Huddy = Hugo + Caddy docker container
Stars: ✭ 14 (-83.13%)
Mutual labels:  hugo
website
KubeSphere website and documentation 3.0 & 3.1 & 3.2
Stars: ✭ 50 (-39.76%)
Mutual labels:  hugo
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 (-46.99%)
Mutual labels:  hugo
hugo eiio
Hugo Blog Theme
Stars: ✭ 19 (-77.11%)
Mutual labels:  hugo
showfolio-hugo-theme
Modern portfolio theme for your Hugo site
Stars: ✭ 56 (-32.53%)
Mutual labels:  hugo
bento
A minimalist theme for Hugo, build with Tailwind CSS - https://bento-hugo-theme.netlify.app/
Stars: ✭ 58 (-30.12%)
Mutual labels:  hugo
inventory
UNICEF Open Source Inventory. A UNICEF Global Innovation knowledge base of best practices and resources for working and leading Open.
Stars: ✭ 23 (-72.29%)
Mutual labels:  hugo
comdev-site
Website sources for the Apache Community Development Website
Stars: ✭ 70 (-15.66%)
Mutual labels:  hugo
Blogpaper
A graphical newspaper like blog theme for Hugo.
Stars: ✭ 18 (-78.31%)
Mutual labels:  hugo
noamross.net
Repository for my personal website
Stars: ✭ 17 (-79.52%)
Mutual labels:  hugo
hugo-theme-iris
Hugo IRIS Theme - Portfolio and Blog
Stars: ✭ 49 (-40.96%)
Mutual labels:  hugo

Minimal Bootstrap Hugo Theme

Netlify Status

A minimal hugo theme made with bootstrap that focuses on content readability.

Table of contents

Demo

https://minimal-bootstrap-hugo-theme.netlify.com/

Minimum Hugo version

Hugo version 0.60.1 or higher is required. View the Hugo releases and download the binary for your OS.

Installation

From the root of your site:

git submodule add https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git themes/minimal-bootstrap-hugo-theme

Updating

From the root of your site:

git submodule update --remote --merge

Run example site

From the root of themes/minimal-bootstrap-hugo-theme/exampleSite:

hugo server --themesDir ../..

Configuration

Copy the config.toml from the exampleSite, then edit as desired.

Favicons

Upload your image to RealFaviconGenerator then copy-paste the generated favicon files under static.

Override

Homepage example

As an example, let's say you didn't like the default homepage, and wanted to design one of your own. To do this, you would:

  1. Copy file YOUR_SITE/themes/minimal-bootstrap-hugo-theme/layouts/index.html
  2. Paste that file to YOUR_SITE/layouts/index.html
  3. Edit index.html as desired

Configure cookie consent

You can change the position, layout, color palette, "Learn more" link, compliance type, and custom text of the cookie consent popup. To do this, you would:

  1. Copy file YOUR_SITE/themes/minimal-bootstrap-hugo-theme/layouts/partials/cookie-consent.html
  2. Paste that file to YOUR_SITE/layouts/partials/cookie-consent.html
  3. Complete the cookie consent wizard
  4. Paste the generated code from the wizard into cookie-consent.html

Syntax highlighting

Hugo has built-in syntax highlighting, provided by Chroma. It is currently enabled in the config.toml file from the exampleSite.

Checkout the Chroma style gallery and choose the style you like.

Shortcodes

blockquote

This will format your blockquotes nicely. To use it, put the quote within the shortcode. The author argument is optional.

{{< blockquote author="Laura Ingalls" >}}
I am beginning to learn that it is the sweet, **simple** things of life which are the real ones after all.  
{{< /blockquote >}}

imgAbs

This will insert an image into your content by absolute path. To use it, pass the pathURL of your image.

These arguments are optional: alt, class, style.

{{< imgAbs 
pathURL="img/some-img.png" 
alt="Some description" 
class="some-class" 
style="some-style" >}}

imgRel

This will insert an image into your content by relative path. To use it, pass the pathURL of your image.

These arguments are optional: alt, class, style.

{{< imgRel 
pathURL="img/some-img.png" 
alt="Some description" 
class="some-class" 
style="some-style" >}}

imgProc

This will process an image from a page bundle, then provide a link to the original image. To use it, pass the image name, command, and command options.

The command argument will be one of: Resize, Fit, Fill. For a deeper dive see the hugo docs for image processing.

These arguments are optional: alt, class, style.

The below example resizes an image to 800px width, while keeping the aspect ratio.

{{< imgProc 
img="some-img.png" 
command="Resize" 
options="800x" 
alt="Some description" 
class="some-class" 
style="some-style" >}}

mastodon

This will embed a toot in an iframe.

These arguments are optional: width, height.

{{% mastodon
status="https://mastodon.social/@kevingimbel/100700713283716694"
width="1000" height="500" %}}

fileRel

This will insert a link to a file by relative path into your content. To use it, pass the pathURL of your file.

The arguments class and style are optional.

{{< fileRel 
  pathURL="files/file.pdf"
  name="filename" 
  class="someclass" 
  style="somestyle" >}},

Getting help

If you run into an issue that isn't answered by this documentation or the exampleSite, then visit the Hugo forum. The folks there are helpful and friendly. Before asking your question, be sure to read the requesting help guidelines.

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