hexo-theme-suka

🎨Modern, powerful and simple theme for Hexo.

GPL-3.0 License

Downloads
149
Stars
616
Committers
5

Bot releases are visible (Hide)

hexo-theme-suka - 1.4.0 Latest Release

Published by SukkaW almost 5 years ago

New features

  • feat/includes: bring up includes folder (#63)
  • feat: support load async css
  • feat(post): add lazyload for post header thumbnail
  • fix(search): escape HTML

Changes

  • refactor(head): completely rewritten
  • refactor(open-graph): improvements
  • refactor(footer): custom_code optimization & copyright rewrite
  • ci: set nodejs version to 8 10 12
  • refactor(archive): rewrite the generation
  • refactor(comment): oprimize disqusjs load
  • refactor: better usage of fragment_cache

Bugs fixed

  • fix(navbar): use archive_dir instead of 'archives/'
  • fix(analytics): change wrong google_site_id in gtags.ejs
  • fix(head): canonical_url
  • fix(config): wrong position of lazyload_img

BREAKING CHANGES

Requires Hexo 4.0.0 or higher version of Hexo.

hexo-theme-suka - 1.3.3

Published by SukkaW over 5 years ago

New features

  • refactor(comment): update disqusjs to 1.2.5

Changes

  • refactor(comment): start disqusjs after load event
  • chore: update deps to latest
  • refactor: add missing rel attr (#92)

Bugs fixed

  • fix(img): lazyload caused img alt

BREAKING CHANGES

There is no Breaking Changes in this release.

hexo-theme-suka - 1.3.2 (LTS)

Published by SukkaW almost 6 years ago

New features

  • feat(lazyload): update vanilla-lazyload to 8.17.0

Changes

  • ci: remove performance test
  • chore/style: format the gulpfile and use const
  • feat/refactor(qrcode): use es6 and simplify url
  • refactor: rewrite code for higher standard and in es6

Bugs fixed

  • fix(post-tag): inline-block
  • fix(style): post table margin-bottom
  • fix(style): highlight table margin-bottom
  • fix(style): post-body padding & width
  • fix(cache): remove footer cache
  • fix(busuanzi): update preload js href
  • fix(#56): list-style for ol and ul tag
  • fix: missing margin bottom for ul and ol tag

BREAKING CHANGES

There is no Breaking Changes in this release.

Notification

From now on, 1.x of Suka Theme will only concentrated on fixing bugs. And I will work on 2.x version of Suka Theme.

hexo-theme-suka - 1.3.0

Published by SukkaW almost 6 years ago

New features

  • feat(head): add preload, for better performance #26
  • feat(std): add search box link
  • feat(comment): bring up facebook comment plugin #27
  • feat(head): add author & categories info to descr for better seo
  • feat: enable fragment cache for custom footer
  • feat(comment): bring up disqusjs #47

Changes

  • fix/feat(open-graph): improve output
  • feat(std): load std data on every page
  • feat/fix(std): add logo value & fix slogan output
  • refactor: simplify the style.css
  • refactor: use hexo.helper instead of variables
  • refactor(comment): remove disqus_proxy #47
  • style(inline-code): fix font-family & padding

Bugs fixed

  • fix(share_menu): share item url error #38
  • fix(open-graph): ejs syntax error & og:url issue
  • fix(head): avoid extra space if no page.category
  • fix(post-license): add word-break: break-all
  • fix(#40): change busuanzi js src

BREAKING CHANGES

DisqusJS as a replacement of Disqus_Proxy

In 1.3.0, Suka Theme is now using DisqusJS instead of Disqus_Proxy, for better user experience. The old Disqus_Proxy was now removed, and it easy to migrate to DisqusJS.

Facebook Comment

Suka Theme now supports a new comment system from facebook social plugin. But attention, this feature is not tested! Use at your own risk.

Busuanzi

As #40 mentioned, busuanzi counter has changed their js url (Because of Qiniu CDN new policy). Suka Theme then changed the url to the mirror (https://github.com/SukkaW/hexo-theme-suka/commit/b2ad7f61a2e84adce08a19dd15c8ccb425b2fadd), which is hosted on jsDelivr and much more reliable than busuanzi its own server.

Notification

From now on, 1.x of Suka Theme will only concentrated on fixing bugs. And I will work on 2.x version of Suka Theme.

hexo-theme-suka - 1.2.0

Published by SukkaW about 6 years ago

New features

  • feat(cache): add fragment cache option

Changes

  • fix(style): excerpt font-size
  • fix(style): post content font-size, padding, line-height and font-size
  • feat(seo): sementic html
  • feat(std): add site icon as fallback and output
  • refactor(post-entry): simplify the element
  • refactor(post): change style and simplify the element
  • feat(share): use telegram short domain

Bugs fixed

  • fix(highlight): prism code block padding-left
  • fix(highlight): prettify margin
  • fix: dns-prefetch for analytics
  • fix(analytics): gtags id error
  • fix(highlight): background conflict

BREAKING CHANGES

Fragment Cache Option

In Hexo 3+ hexojs team bring up a new feature, fragment_cache, which can make generation more efficient. Before Suka Theme 1.1.1, the fragment cache option was force enabled and can't be disabled. In Suka Theme 1.2.0, I add a option for you to disable it, for avoiding some strange issues. You can read the docs about fragment cache configuration

hexo-theme-suka - 1.1.1

Published by SukkaW about 6 years ago

New features

  • feat(gallery): update vendor for new layout
  • feat(highlight): import more themes from highlight.js

Changes

  • refactor(footer): update gallery js import

Bugs fixed

  • fix highlight margin
  • fix highlight theme conflict with pre
  • fix(head): opengraph image url

BREAKING CHANGES

Suka Theme add a new page layout gallery. Read the docs for more info

hexo-theme-suka - 1.1.0

Published by SukkaW about 6 years ago

New features

  • feat(analytics): add tenent analytics and tencent mta support
  • feat(favicon): add 192x192 favicon
  • fix(#1): more accuracy on rss
  • feat(search): add support for swiftype
  • feat(hanabi): bring up hanabi code highlight
  • feat(prettify): add google prettify

Changes

  • refactor: add site_config example

Bugs fixed

  • fix(head): output full url of media
  • fix(#15): let code block theme won't affect pre background

BREAKING CHANGES

Code Highlighting

In 1.1.0, Suka has added 2 new kinds of code highlight theme: prettify and hanabi. Also, Suka has supported hexo built in highlight. Now you have more option to choose.

Search

Suka now support search by google and search by swiftype. You have more option to choose.

hexo-theme-suka - 1.0.1

Published by SukkaW about 6 years ago

New features

  • feat(busuanzi): support custom text #8
  • feat(busuanzi): add offset support #8
  • feat(valine): add support for valine visitor countor #9

Changes

  • feat: add alt attr to img tag
  • feat: add aria-hidden to pagination

Bugs fixed

  • fix(links): missing tag
  • fix(share_menu): prevent off screen
  • fix(share): add rel to share menu item
  • fix(valine): critical bugs
  • fix(gitalk): use window.location.pathname as id just as gitment
  • fix(links): link-list max-width
  • fix(search): url config

BREAKING CHANGES

Favicon

For beter favicon exprience cross all browser, I turn to https://realfavicongenerator.net/ for help and finish the refactor of favicon, But it caused the huge effects on theme config, look theme config file diffs for details. You have to mirage you old theme config to fit new one. No worry, not all kinds of favicon are needed. You can just fill in what you already have and simply leave other blank.

Busuanzi Counter

I refactored the busuanzi, and now you can add custom text before and after the number. Also I add offset support for it. But it caused the huge effects on theme config, look theme config file diffs for details. And the docs of how to configure the new busuanzi is here

Gitalk & Gitment ID

I changed the gitalk & gitment post identifier from window.location.href to window.location.pathname, because it is easier for you to change domain of your site without mirage your comment.
But it will cause some old comments (the comment was made when you are using old version of suka theme) to lose, you should mirage them. simply change the issue's id would work. I will find out a way to make mirage more easier.

hexo-theme-suka - 1.0.0

Published by SukkaW about 6 years ago

New features

  • feat(lazyload): support async
  • feat(comment): support disable comment in front-matter
  • feat(custom_code): muilt line custom code support
  • feat(head): android chrome tab color fallback to bgcolor if no theme.head.color

Changes

  • refactor(config): move manifest & opensearch to expert
  • fix(post-entry): add sementic html for better seo
  • feat: avoid use inline style to hide cnzz

Bugs fixed

  • fix(code): code hightlight background
  • fix(style): override spectre.css
hexo-theme-suka - 0.2.0

Published by SukkaW about 6 years ago

New features

  • feat(i18n): update English
  • feat(footer): custom code at footer
  • feat(analytics): bring up gtags.js method

Changes

  • refactor: split the module for content
  • chore/ci: bring ci to the theme development (#2)
  • refactor(config): remove useless line

Bugs fixed

  • fix: when title could be a link
  • fix(post/post-entry): add separator for muilt categories
  • fix(post/post-entry): hide split dot when no categories
  • fix(navbar): link to home
  • fix(style): disqus button text color
hexo-theme-suka - 0.1.0

Published by SukkaW about 6 years ago

hexo-theme-suka - Hi, Suka

Published by SukkaW about 6 years ago