Coder Social home page Coder Social logo

jagadeesh-s2104 / hugo-theme-sk2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from j-siu/hugo-theme-sk2

0.0 0.0 0.0 409 KB

Hugo Theme - SK2 (Skeleton 2)

Home Page: https://sk2.jsiu.dev

License: MIT License

HTML 70.91% CSS 22.78% JavaScript 6.31%

hugo-theme-sk2's Introduction

Hugo Theme - SK2 (Skeleton 2)

Fully functional basic Hugo theme with minimum css, build on top of hugo-theme-sk1.


SK Themes

Theme GitHub Hugo Demo Description
SK1 hugo-theme-sk1 SK1 sk1.jsiu.dev Fully functional basic Hugo theme with no css, no javascript.
SK2 hugo-theme-sk2 SK2 sk2.jsiu.dev Fully functional basic Hugo theme with minimum css.
SK3 hugo-theme-sk3 SK3 sk3.jsiu.dev Full feature Hugo theme with Google AdSense support.

Demo

SK2 demo site: https://sk2.jsiu.dev/ with content from hugoBasicExample.

Usage

  • Clone

    In site directory:

    git clone https://github.com/J-Siu/hugo-theme-sk2 themes/sk2
  • Submodule

    In site directory:

    git submodule add https://github.com/J-Siu/hugo-theme-sk2 themes/sk2

Testing

In exampleSite:

git clone https://github.com/J-Siu/hugo-theme-sk2 sk2
cd sk2

# Pull example site.
git submodule update --recursive --init

cd exampleSite
hugo server -D --bind :: \
--disableFastRender \
--theme sk2 \
--themesDir ../../ \
--config config.toml,../config.demo.toml \
--verbose

Features

  • Card list
  • Collapsible table of content
  • Copyright start year
  • Git modify date
  • Horizontal menu
  • Horizontal pagination
  • Minimum css
  • Sub-title
  • Summary

Site Config

config.demo.toml

baseURL = "https://sk2.jsiu.dev"
theme   = "sk2"
title   = "SK2"

[Params]
mainSections = "post"
startdate = "2012-12-02"
subtitle = "A Hugo Theme"
summary = true
toc = true

Default Favicon

SK themes come with default favicon.

Disable default favicon:

# At Hugo site root
touch static/favicon.ico

Override default favicon:

# At Hugo site root
cp <your favicon.ico> static/favicon.ico

Contributors

Change Log

  • 1.0.0
    • Initial Commit
  • 1.0.1
    • Add images
    • Demo config
    • Fix css
    • README.md update
    • Use site.Params.mainSections
  • 1.0.2
    • Add default favicon.ico
    • Change toc start level to 1
    • Update README.md

hugo-theme-sk2's People

Contributors

j-siu 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.