Coder Social home page Coder Social logo

bulb's Introduction

Bulb

A minimal Hugo theme using Bulma

Table of Contents

Screenshots

Screenshot Screenshot

Installation

From your Hugo site directory, add the theme as a submodule:

git submodule add https://github.com/leigholiver/bulb.git themes/bulb

Enable the theme in your config.toml:

theme = "bulb"

Usage

The theme is configured in config.toml

General configuration is in the [Params] field:

Variable Description Required Default
sidebar_image The URL of the image to use in the sidebar No /image.jpeg
sidebar_text The text to use in the sidebar No ""
google_analytics Google Analytics ID No ""

The optional social icons in the sidebar are specified in [[Params.socials]]:

Variable Description Required
icon The name of a FontAwesome brands icon to use Yes
url The URL to link to Yes

You must also include a menu, as in the example below:

[Params]
sidebar_text = "A minimal Hugo theme"
footer_text = "Bulb theme"

[[Params.socials]]
    icon = "github-square"
    url = "http://example.com"
[[Params.socials]]
    icon = "twitter-square"
    url = "http://example.com"

[menu]
  [[menu.main]]
    name = "Home"
    url = "/"
    weight = 1
  [[menu.main]]
    name = "Posts"
    url = "/posts/"
    weight = 2
  [[menu.main]]
    name = "Tags"
    url = "/tags/"
    weight = 3

See the exampleSite directory for a full example.

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

bulb's People

Contributors

leigholiver avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.