Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

antonioalmeida/texugo-theme

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tex(h)ugo 🦡

Minimalistic website theme for Hugo based on Tex's typography. Live preview available here

Home Post

Getting Started

Clone this repository inside your Hugo project theme directory.

$ mkdir themes
$ cd themes
$ git clone https://github.com/antonioalmeida/texugo-theme.git

Configuration

Take a look at the /exampleSite directory.

Copy the config.toml to the root directory of your website and overwrite the existing information as needed:

config.toml:

baseurl = "https://example.com"
languageCode = "en"
title = "Texugo"
theme = "texugo-theme"
copyright = "© John Doe 2020"

[params]
    nickname = "johndoe"
    # Displayed as the main heading in the sidebar
    name = "John Doe"
    # Displayed in the sidebar below the name. Each entry is rendered as a separate line.
    bio = ["Software Engineer,", "Open Source enthusiast,", "Coffee lover."]

[[params.social]]
  name = "Github"
  url = "https://example.com"

[[params.social]]
  name = "Twitter"
  url = "https://example.com"

[[params.social]]
  name = "LinkedIn"
  url = "https://example.com"

[markup]
  [markup.highlight]
    codeFences = true
    guessSyntax = false
    hl_Lines = ""
    lineNoStart = 1
    lineNos = false
    lineNumbersInTable = true
    noClasses = true
    style = "github"
    tabWidth = 4

Development

# run local server (localhost:1313)
$ hugo server

# make production build (/public)
$ hugo --minified

Deployment

Inspired by

Tweaking the theme

  • Set up and activate as your website's theme
  • Inside the theme directory install dependencies: $ npm install
  • Make required changes to style.scss and run $ npm run css-build && npm run css-watch to live update your changes

License

tex-hugo-theme is licensed under the MIT License.

Author

António Almeida

About

🦡 Minimalistic website theme for Hugo based on Tex's typography.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.