Simple Theme For Hugo
Go to file
gangjun06 5726fcc29a update 2020-08-13 13:30:59 +00:00
archetypes init commit 2020-08-12 22:15:08 +00:00
imgaes update readme.md 2020-08-13 11:38:17 +00:00
layouts update 2020-08-13 13:30:59 +00:00
static update 2020-08-13 13:30:59 +00:00
LICENSE init commit 2020-08-12 22:15:08 +00:00
README.md move exmple, update baseURL 2020-08-13 12:39:50 +00:00
theme.toml init commit 2020-08-12 22:15:08 +00:00

README.md

Simple Intro

simple theme for hugo

intro

Live Demo

https://gangjun06.github.io/hugo-theme-simple-intro-demo

Demo Source Code

Get Started

hugo new site <site-name>
cd <site-name>
git submodule add https://github.com/gangjun06/hugo-theme-simple-intro themes/simple-intro
# Apply config
hugo serve -D

config.toml

baseURL = "/"
languageCode = "en-us"
theme = "simple-intro"
title = "Title"

[params]
    mainbg = "backroundImage Path"
    name = "Your Name"
    mainTitle = "Header Title"
    mainText = "Header Text"

[menus]
    [[menu.main]]
        identifier = "about"
        name = "About"
        url = "#about"
    [[menu.main]]
        identifier = "skills"
        name = "Skills"
        url = "#skills"
    [[menu.main]]
        identifier = "projects"
        name = "Projects"
        url = "#projects"
    

data/home/about.toml

title = "about title"

text = """
about text
"""

[[link]]
    icon = "fontawesome icon"
    link = "#"

data/home/project.toml

[[list]]
    title = "project name"
    image = "Project image"
    text = """
    project description
    """

data/home/skills.toml

[[list]]
    name = "lang Name"
    icon = "lang Icon"
    text = """
        skill text
    """