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.
npm install -g hexo-cli
hexo init <site>
cd <site>
git clone https://github.com/cjquines/hexo-theme-ascent themes/ascentThen set your theme in _config.yml to ascent.
Here's what can be changed in themes/ascent/_config.yml:
menu. Header links can be customized by adding more keys insidemenu:
menu:
Home: /
Archives: /archives
Github: https://github.com/cjquines-
rss. Link to the generated RSS. You need to havehexo-generator-feedinstalled, which you can do withnpm 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 tofalseimproves performance by a little bit. -
word_count. Toggles whether word counts appear before a post, and in the archives. You need to havehexo-wordountinstalled, which you can do withnpm install hexo-wordcount. -
google_analytics. Theenablekey toggles whether Google Analytics is turned on. ReplaceUA-000000000-0with your Google Analytics tracking ID, which you can find in the Google Analytics code. -
intensedebate. Theenablekey toggles whether IntenseDebate comments are turned on. Replace00000000000000000000000000000000with the IntenseDebate site account, which you can find in Settings > Account > Site Key.
