Pelican SVBHACK

pelican-svbhack 是一款用于 Pelican 的响应式主题,是我对类似于 svbtle 的主题进行的魔改。「pelican-svbhack is a responsive theme for Pelican and it is my hack of a svbtle-like theme」

Github星跟踪图

SVBHACK

pelican-svbhack is a responsive theme for Pelican, it is my hack of a svbtle-like theme.

DEMO

You can see the theme in action.

theme screenshot

FEATURES

  • responsive
  • syntax highlighting for pre blocks
  • supports google analytics and matomo
  • custom list of links
  • supports the readtime plugin

KNOWN ISSUES

  • no IE testing
  • no custom menu

INSTALL

Clone the repository, edit your pelicanconf.py and modify the THEME variable to make it point to the downloaded theme location.

PELICANCONF.PY

Supports a number of common global variables but patches are welcomed if you need better support.

  • GOOGLE_ANALYTICS to use Google Analytics, set this var to your UA-XYZ code

  • MATOMO_URL to use Matomo, set this var to your server, e.g. "analytics.example.com" (no protocol prefix)

  • MATOMO_SITE_ID to use Matomo, set this var to your site ID, e.g. "1"

  • USER_LOGO_URL to replace the logo placeholder, put your logo in content/images/your_logo.png and make this var point to SITEURL + '/static/images/your_logo.png'

  • ROUND_USER_LOGO set this to True to crop your logo to a circle and add a black border

  • HIDE_USER_LOGO set this to True to hide the placeholder without adding your logo

  • USE_GENERIC_FONT_FAMILIES set this to True to use generic font families and avoid using Google Fonts

  • DISQUS_SITENAME set this to your Disqus sitename to enable disqus comments in articles

  • TAGLINE some text rendered right below the logo

  • INTERNET_DEFENSE_LEAGUE set this to True if you want to enable the Internet Defense League code

When developing locally, you may want to set the following variable: SITEURL = http://localhost:8000

MODIFICATIONS

  • Accent color can be changed by editing @accent in ./static/css/style.less.
  • A different Pygmentize theme can be used by editing ./Makefile and running make pygments.

AUTHOR

pelican-svbhack is authored by Giulio Fidente.

LICENSE

Released under MIT License, full details in LICENSE file.

主要指标

概览
名称与所有者gfidente/pelican-svbhack
主编程语言HTML
编程语言Makefile (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2013-03-21 17:50:14
推送于2024-09-12 07:33:06
最后一次提交2024-09-12 09:29:31
发布数0
用户参与
星数303
关注者数9
派生数112
提交数113
已启用问题?
问题数13
打开的问题数3
拉请求数21
打开的拉请求数3
关闭的拉请求数10
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?