A Hugo Theme by @abanoubha
2024-08-29 14:12:23 +03:00
.vscode build: disable auto formating in vscode 2024-01-26 06:03:56 +02:00
archetypes feature: remove categories, use tags instead 2024-01-16 03:53:20 +02:00
assets fix: text color in the search input 2024-08-29 12:13:07 +03:00
exampleSite refactor: cleanup the exampleSite 2024-01-25 04:19:48 +02:00
i18n ui: more accurate/helpful translations 2024-01-16 03:20:04 +02:00
layouts refactor: use baseURL without pre-processing it 2024-08-29 14:12:23 +03:00
static feature: ability to show ad banner in homepage and post page 2024-06-20 02:33:13 +03:00
.gitignore build: git ignore content/ dir and its posts which I use for local testing 2024-01-25 03:52:07 +02:00
hugo.toml fix: use proper vars in ad partial 2024-06-20 03:19:00 +03:00
LICENSE barebone Hugo theme 2023-11-19 11:32:44 +02:00
multilingual_tags_categories.md docs: link to a post 2024-02-02 07:40:09 +02:00
README.md docs: document the feature in the next specified release version 2024-08-29 12:09:56 +03:00
theme.toml fix: change demosite link 2024-02-04 15:08:11 +02:00

Kmt

Kmt is the ancient name of Egypt (my home country). See the demo here.

Features

  • speed page loading: surf the web at the speed of thought
  • related posts: show 'read more' section with a list of related posts
  • minimal user interface
  • multilingual: currently support Arabic and English (a.k.a Bilingual)
  • lazyloading images with browser-native API
  • show last modification/update date of each post
  • featured posts: show featured posts pinned on top of index page

Installation

Install via git submodule

Run this command while you are inside the folder of your Hugo site:

git submodule add  -b main --depth 1 https://github.com/abanoubha/gohugo-theme-kmt.git themes/kmt

Add the theme’s directory to your config.yaml or config.toml:

  • in config.yaml
theme: kmt
  • in config.toml
theme = kmt

That's it. You installed it successfully.

Configuration

Documentation & Posts about Kmt theme

* all above posts have Arabic translations.

Resources & Referrals

Documented Code Problems

Source Code

Roadmap & Tasks

  • Previous (v1.0.0 , v1.1.0 , v1.2.0)
    • use tailwind css (use minimal native CSS)
    • setup a demo
    • SEO meta tags
    • generate sitemap(s)
    • link to translation of current page
    • custom rendering for heading with anchor link
    • custom rendering for image to set the alt text
    • support image caption via p > img + em {} in CSS
    • mobile-first, responsive layout
    • web native lazy loading for images
    • show lastmod/updated_at datetime if exists
    • show pinned/featured posts upfront
    • show only posts in feed/index
    • show pages links in the footer
    • support multilanguage in links of tags and categories
    • add keyboard key by kbd shortcode {{< kbd command >}}.
    • add abbr shortcode {{< abbr SEO "Search Engine Optimization" >}}.
    • ability to show ad banner in homepage and post page
  • v1.3.0
    • search box: search via Google simply using keywords site:<domain-name>
  • Next
    • ability to set accent color in config.toml
    • ability to set link color in config.toml
    • ability to set darkmode background color in config.toml
    • ability to set lightmode background color in config.toml
    • submit the theme
    • breadcrumb & easy navigation
    • RSS
    • web native lazy loading for iframes
    • use WebP image to speed up the page load time
    • feature: 'read aloud' or 'read for me' (text to speech)

This HUGO theme is open source. Feel free to send pull requests and/or write issues.