Git Product home page Git Product logo

basics-md's Introduction

Basics

A minimal theme for those who like to keep it simple. Makes use of bootstrap.

Based on the Elephants theme.

Features

  • Responsive theme
  • High contrast
  • Focus on content and readability

Installation

From your hugo site, run:

git submodule add https://github.com/arjunkrishnababu96/basics.git themes/basics

Writing Posts

Posts that should show up in the home page must be inside contents/post. Or you can change this behavior by tweaking themes/basics/layouts/_default/list.html.

You should also add an about page at contents/about.md.

Your directory should look something like this:

├── archetypes
│   └── default.md
├── config.toml
├── content
│   ├── about.md
│   └── post
│       ├── my-first-post.md
│       └── my-second-post.md
├── data
├── layouts
├── static
│   └── images
└── themes
    └── basics

Configurations

Add author name

Add author name to the .Site.Params.author parameter in your config.toml file.

See below for an example:

baseURL = ""
languageCode = "en-us"
title = "Basics Theme Demo"
theme = "basics"

[params]
    author = "Author Name"

Add Links to GitHub and GitLab

Add GitHub and GitLab usernames to .Site.Params.github and .Site.Params.gitlab parameters in your config.toml file. Links to these accounts would show up in the top navigation bar. If these parameters are not present or is left blank, the links would disappear.

See below for an example:

baseURL = ""
languageCode = "en-us"
title = "Basics Theme Demo"
theme = "basics"

[params]
    author = "Author Name"
    github = "username1"
    gitlab = "username2"

License

Released under the MIT License.

basics-md's People

Contributors

arjkb avatar ixt 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.