Giter VIP home page Giter VIP logo

classless-hexo's Introduction

Classless for Hexo

This Hugo theme features the basic Classless templates for your posts and list of posts. One of the themes supported on Classless may be chosen from your site's config.toml, along with the hash of the commit which you want to reference. That is needed because the provider, https://rawgit.com/, needs that to serve cached, cdnized versions of the themes hosted on https://github.com/fiatjaf/classless/tree/master/themes/.

Parameters from your _config.yml used in this theme:

url:
root:
permalink:

source_dir:
public_dir:
tag_dir:
archive_dir:

index_generator:
  path: ''
  per_page: 10
  order_by: -date

per_page:
pagination_dir:

theme: classless
title: # your site must have a title.
description: # you site must have a description.

theme_config:
  theme: # the theme name, taken from https://classless.alhur.es/themes/.
  commit_sha: # the last commit sha from https://github.com/fiatjaf/classless/,
              # used to generate the rawgit.com URL.
  theme_url: # alternatively, a full URL to the CSS that specifies the classless theme.
  nav: # an array of objects with .label and .url:
    - label: Home
      url: /
    - label: Archives
      url: /archives/
  date_format: 'MMMM Do YYYY'
  show_excerpts: true
  read_more: 'Read more...'
  

# all other settings are not explicitly used by the classless theme (but many are still
# useful to have in your configs, as they are used by Hexo itself).
#
# if you don't set a .theme and .commit_sha (or .theme_url), a random Classless theme
# will be included for you, and a poorly designed widget will appear on your site from
# which you'll be able to select themes and experiment with them before choosing one to
# write to your config file.

To set the content on the body > aside and on the body > footer elements, create a source/aside.(html|md) and a source/footer.(html|md), set a title: 'aside' and title: 'footer' to them and write what you want to them. If you don't do this your site will have some stupid default texts on these important elements.

classless-hexo's People

Contributors

fiatjaf avatar nanqunchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.