Code Monkey home page Code Monkey logo

hexo-theme-ascent's Introduction

Ascent

An opinionated Hexo theme for blogs with long blocks of text. Demo.

It's best suited for blogs with a lot of longform writing, and it's designed to give the reader as smooth of a reading experience as possible. I wrote Ascent because it seemed that none of the Hexo themes available had this aim; unlike most Hexo themes, the focus of Ascent is to make posts that read like magazine articles or newspaper features.

Read more about Ascent design on the demo. See how Ascent formats Markdown on the demo.

Installation

npm install -g hexo-cli
hexo init <site>
cd <site>
git clone https://github.com/cjquines/hexo-theme-ascent themes/ascent

Then set your theme in _config.yml to ascent.

Configuration

Here's what can be changed in themes/ascent/_config.yml:

  • menu. Header links can be customized by adding more keys inside menu:
menu:
  Home: /
  Archives: /archives
  Github: https://github.com/cjquines
  • rss. Link to the generated RSS. You need to have hexo-generator-feed installed, which you can do with npm install hexo-generator-feed.

  • excerpt_link. The text of the "read more" link in the home page.

  • favicon. Path to the favicon.

  • settings. Toggles whether the settings (sans-serif/serif, light/dark) appear in the lower-right corner of the screen.

  • highlight. Toggles whether code blocks are styled. Changing this to false improves performance by a little bit.

  • word_count. Toggles whether word counts appear before a post, and in the archives. You need to have hexo-wordount installed, which you can do with npm install hexo-wordcount.

  • google_analytics. The enable key toggles whether Google Analytics is turned on. Replace UA-000000000-0 with your Google Analytics tracking ID, which you can find in the Google Analytics code.

  • intensedebate. The enable key toggles whether IntenseDebate comments are turned on. Replace 00000000000000000000000000000000 with the IntenseDebate site account, which you can find in Settings > Account > Site Key.

hexo-theme-ascent's People

Contributors

cjquines avatar

Watchers

 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.