ElnuDev
/
sakura-hugo-theme
بایگانی شده
1
0
انشعاب 0
Want to contribute? Fork me on Codeberg.org!
A minimal blog theme for Hugo using Sakura. https://oxal.org/projects/sakura/
شما نمی توانید بیش از 25 موضوع انتخاب کنید موضوع می‌بایستی با حروف یا شماره ها شروع شود. و می‌تواند شامل دَش ('-') باشد و طول آن تا 35 کارکتر نیز امکانپذیر است.
این مخزن بایگانی شد. شما می توانید فایل های آن را مشاهده کنید یا از رونوشت تهیه کنید. اما دیگر نمی‌توانید آن را به‌روزسانی کنید و یا برای آن مسئله یا تقاضای واکشی ایجاد کنید.
 
 
 
Elnu 29b925d36b
Fix Stork Japanese title display
1 سال پیش
archetypes Initial commit 2 سال پیش
layouts Fix Stork Japanese title display 1 سال پیش
static Add Soudan support 2 سال پیش
.gitattributes Add Soudan support 2 سال پیش
LICENSE Initial commit 2 سال پیش
README.md Update README.md 2 سال پیش
theme.toml Initial commit 2 سال پیش

README.md

sakura-hugo-theme

A minimal blog theme for Hugo using Sakura that uses no custom CSS. Supports furigana/ruby text [振]{ふ}り[仮]{が}[名]{な} markup out of the box.

For an example of this theme in action, check out my blog (repository)!

If you're using Hugo's syntax highlighting and one of the light Sakura variants, it's recommended to use the friendly theme. To use it, add the following to your config.toml:

[markup]
	[markup.highlight]
		style = 'friendly'

Parameters

This theme supports some basic configuration options in addition to support for Matomo analytics, a FOSS and self-hosted analytics solution.

  • Author: Author name for all posts. Required for proper post metadata.
  • AuthorProfile: URL to author profile, used for Open Graph.
  • AuthorTwitter: Author Twitter handle without @, used for Twitter cards.
  • SiteTwitter: Site Twitter handle (generally should be same as AuthorTwitter)
  • Theme: Variant of Sakura to use. If unspecified, will default to sakura.css. e.g Theme = 'dark' will use sakura-dark.css. Available variant themes:
    • dark-solarized
    • dark
    • earthly
    • ink
    • pink
    • vader
  • ThemeColor: Theme color for embeds, etc. eg. #000000
  • HomepageHeader: Text displayed at the absolute top of the homepage, hidden on pagination. Can include HTML markup.
  • MatomoURL: URL of Matomo analytics server.
  • MatomoSiteId: Site ID of Matomo. Must be string.