您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Bud Parr 480ea34d22
improve conditional
7 年前
archetypes first commit 7 年前
exampleSite add exampleSite content 7 年前
images add images to the readme 7 年前
layouts improve conditional 7 年前
src wip clean up and annotations 7 年前
static/dist wip clean up and annotations 7 年前
.gitignore clean up css 7 年前
LICENSE.md first commit 7 年前
package.json first commit 7 年前
readme.md fix issues with featured image 7 年前
theme.toml add some theme reqs 7 年前

readme.md

A Base theme for Hugo, a framework for building websites.

![/images/screenshot.jpg]

DEMO

The intent of this theme is to provide a solid starting place for Hugo sites and include best practices for performance, accessibility, and rapid development.

The demo sites contains a section called “Unit Tests,” which are a work in progress, but eventually will allow theme developers to test against various edge cases that a theme’s users might publish. (so, note, not all the tests are valid or appropriate here, they’re present to start working on.)

Features

  • Responsive
  • Accessible

Includes examples of

  • Custom Robots.txt (changes values based on environment)
  • Internal templates for meta data and google analytics
  • Pagination (internal template)
  • Archetypes
  • Custom shortcode
  • Hugo built-in menu
  • with
  • HUGO_ENV
  • first
  • after
  • sort
  • Site LanguageCode
  • where
  • Content Views
  • Partials
  • Template layouts (type “article” uses a special list template, single template, and a content view)
  • Tags
  • len
  • Conditionals
  • ge (greater than or equal to)

This theme uses the “Tachyons” CSS library. This will allow you to manipulate the design of the theme by changing class names in HTML without touching the original CSS files. For more information see the Tachyons website.

TODO:

  • ADD INSTRUCTIONS