Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple and Functional Hugo theme.

License

NotificationsYou must be signed in to change notification settings

taikii/whiteplain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

This is simple and functionalHugo theme.

Installation

$ git clone https://github.com/taikii/whiteplain.git themes/whiteplain

Or

$ git submodule add https://github.com/taikii/whiteplain.git themes/whiteplain

More colors

This theme automatically switches between light and dark styles depending on the OS color scheme. You can fix the light or dark style by adding the following theme.

  • Dark Fix in dark style.
  • Light Fix in light style.

Usage

Configration

baseurl ="https://example.com/"title ="Whiteplain"theme ="whiteplain"languageCode ="en"# Disqus shortnamedisqusShortname ="Shortname"# google analytics tracking idgoogleAnalytics ="Toracking ID"# Copyright notice. This is displayer in the footer.copyright ="© Copyright 2017 Your name"[params]# whether to use CDN or local file for fontawesome#useCDN = false# whether to include external sharing scripts and icons for twitter, facebook and co.#showShareIcons = false# Date format#dateFormat = "January 2, 2006"# This is displayer in About page.[params.author]name ="Your name"# Gravatar or Abatar imagegravatar ="Gravatar email or MD5 Hash"#avatar = "/path/to/avatar"x ="X username"twitter ="Twitter username"facebook ="Facebook username"googleplus ="Googleplus username"instagram ="Instagram username"threads ="Threads username"tumblr ="Tumblr username"flickr ="Flickr username"reddit ="Reddit username"linkedin ="Linkedin username"slideshare ="Slideshare username"github ="Github username"gitlab ="Gitlab username"bitbucket ="Bitbucket username"stackoverflow ="Stackoverflow username"jsfiddle ="Jsfiddle username"codepen ="Codepen username"deviantart ="Deviantart username"behance ="Behance username"dribbble ="Dribbble username"wordpress ="Wordpress username"medium ="Medium username"foursquare ="Foursquare username"xing ="Xing username"quora ="Quora username"youtube ="YouTube username"tiktok ="TikTok username"vimeo ="Vimeo username"whatsapp ="Whatsapp username"skype ="Skype username"snapchat ="Snapchat username"pinterest ="Pinterest username"telegram ="Telegram username"vine ="Vine username"email ="Your email"[[params.author.social]]name ="Custom social link1"iclass ="fa-brands fa-github"url ="https://example.com/whiteplain"[[params.author.social]]name ="Custom social link2"iclass ="fa-brands fa-google"url ="https://example.com/whiteplain"[taxonomies]category ="categories"tag ="tags"series ="series"# Header Menu[[menu.main]]name ="Categories"identifier ="categories"url ="/categories/"weight =1[[menu.main]]name ="Tags"identifier ="tags"url ="/tags/"weight =2[[menu.main]]name ="Archives"identifier ="archives"url ="/archives/"weight =3[[menu.main]]name ="About"identifier ="about"url ="/about/"weight =4# Footer Menu[[menu.footer]]name ="About"weight =1identifier ="about"url ="/about/"

Archives page

The Archive page will be displayed, if you createcontent/archives/_index.html.The file can be 0 bytes.

Hugo site direcctory└── content    └── archives        └── _index.md

About page

The author information is displayed on the About page. You should create an About page incontent/about/_index.md.

Your site direcctory└── content    └── about        └── _index.md

Customize Stylesheet and Javascript

You can customize Stylesheet and Javascript. When you createstatic/css/custom.cssstatic/js/custom.js, it will be loaded automatically.

Default Syntax highlighter style ismonokai. If you want to change the style, createstatic/css/syntax.css. SeeHugo Syntax Highlighting about Syntax highlighting.

Your site direcctory└── static    ├── css    │   ├── custom.css    │   └── syntax.css    └── js        └── custom.js

If you want to use libraries and frameworks, createlayouts/partials/head_custom.html. Its contents are read into<head>...</head>.

Your site direcctory├── layouts     └── partials         └── head_custom.html

Customize Share Buttons

  1. Copythemes/whiteplain/layouts/partials/share.html tolayouts/partials/share.html.
  2. Customizelayouts/partials/share.html.
Your site direcctory├── layouts│   └── partials│       └── share.html└── themes    └── whiteplain        └── layouts            └── partials                └── share.html

Customize Author SNS Icons

  1. Copythemes/whiteplain/layouts/partials/social.html tolayouts/partials/social.html.
  2. Customizelayouts/partials/social.html.
Your site direcctory├── layouts│   └── partials│       └── social.html└── themes    └── whiteplain        └── layouts            └── partials                └── social.html

Icons

This theme usingFont Awesome.

License

MIT

About

Simple and Functional Hugo theme.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp