Skip to content

leaker/hugo-theme-fika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fika theme for Hugo

Fika is a Hugo theme designed for bloggers

Installation

Step 1: Install Hugo with extended (Windows)

scoop install hugo-extended

Step 2: Create site with yaml configuration

hugo new site quickstart -f yaml

Step 3: Add Fika theme

cd quickstart
git init
git submodule add https://github.com/leaker/hugo-theme-fika.git themes/fika

Then, add Fika theme to the site configuration:

echo theme: fika >> config.yaml

Configurations

In site configuration file: config.yaml

theme: fika # Use Fika theme

params:
  sub_title: # sub title for header
  logo: /image/logo.webp # header logo image. path to: /static/image/logo.webp
  cn_icp_id: # China Website Internet Content Provider ID. If site not deploy in china, delete this line

# header menu items
menu:
  main:
    - name: home
      title: HOME
      url: /
      identifier: home
      weight: 1
    - name: archives
      title: Archives
      url: /archives/index.html
      identifier: archives
      weight: 2

How to use Archives Template

  1. Create archives page
hugo new archives
  1. Edit /content/archives.md and fill content
---
title: Archives
layout: archives
hidden: true
url: /archives/index.html
---

hidden: true will make this page invisible with post list

About

Fika is a Hugo theme designed for bloggers

Topics

Resources

License

Stars

Watchers

Forks