Giter VIP home page Giter VIP logo

kidlat's Introduction

License

Kidlat Hugo Theme

Kidlat is a low-bandwidth, text-only Hugo theme.

This theme is verified to work with Hugo versions v0.110.0–v0.121.2.

Kidlat screenshot

Features

Example site

This theme is in use at Kidlat News. Our site's Github repo is public.

Installation

  1. Copy the kidlat folder inside the themes folder of your site.
themes/
└── kidlat
  1. Add the theme to the site configuration file config.yaml.
theme: kidlat

Configuration

1. Change the default configuration

Copy and change the default theme configuration inside hugo.yaml to the site configuration file config.yaml:

baseURL: https://example.org/        # Change to your website URL
title: Example News & Current Events # Change to your website title
languageCode: en-us
theme: kidlat

params:
  short_title: Example News           # Change to your website short title
  display_name: EXAMPLE               # Change to your website display name
  license: Creative Commons BY-SA 4.0 # Change to your website license
  license_url: https://creativecommons.org/licenses/by-sa/4.0/deed.en # Change to your license URL
  description: "Example News is the trusted site for news and current events." # Change to your website description
  logo: "/example-news.jpg" # The logo should be inside your static folder
  footer: <span><a href="http://www.example.org/">This is the footer text.</a></span> <span><a href="#top">▲</a></span> # Change to your footer text and link

2. Put the css folder inside your static folder

Move or copy the css folder and its contents to your site's static folder. Your static folder should look like this.

static/
└── css
   ├── kidlat.css
   └── README.md

3. Specify items in the front matter

There are a number of optional front matter items that can be specified.

  • content_type For schema.org metadata. The most common types are Article, NewsArticle and BlogPosting.

  • attribution To attribute images to their source and specify their license.

  • display_license To display the site license (as well as the attribution if specified) at the end of each article, set this to true.

  • images To specify the image metadata. This image will be used when the article is shared on social media.

  • xurl If shared on Twitter, the URL of the tweet. If the URL is specified, a Comment on X appears after the article post date.

License

Kidlat theme is licensed under the Apache License 2.0.

kidlat's People

Contributors

kidlat2024 avatar

Watchers

 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.