@SukkaW SukkaW released this Nov 3, 2018 · 6 commits to master since this release

Assets 2

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 (b2ad7f6), 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.

@SukkaW SukkaW released this Sep 8, 2018 · 89 commits to master since this release

Assets 2

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

@SukkaW SukkaW released this Aug 30, 2018 · 117 commits to master since this release

Assets 2

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

@SukkaW SukkaW released this Aug 16, 2018 · 131 commits to master since this release

Assets 2

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.

@SukkaW SukkaW released this Aug 10, 2018 · 166 commits to master since this release

Assets 2

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.

@SukkaW SukkaW released this Jul 29, 2018 · 193 commits to master since this release

Assets 2

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