• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

吴雪/mysite

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

mysite

开源软件地址:

https://gitee.com/wuxue_newmedia/minimal-mistakes

开源软件介绍:

Minimal Mistakes Jekyll Theme

LICENSEJekyllRuby gemTip Me via PayPal

Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.

:sparkles: See what's new in the CHANGELOG.

Minimal Mistakes live preview

layout examples

Notable Features

  • Bundled as a "theme gem" for easier install/upgrading.
  • Compatible with GitHub Pages.
  • Support for Jekyll's built-in Sass/SCSS preprocessor.
  • Nine different skins (color variations).
  • Several responsive layout options (single, archive index, search, splash, and paginated home page).
  • Optimized for search engines with support for Twitter Cards and Open Graph data
  • Optional header images, custom sidebars, table of contents, galleries, related posts, breadcrumb links, navigation lists, and more.
  • Commenting support (powered by Disqus, Facebook, Google+, Discourse, static-based via Staticman v1 and v2, and custom).
  • Google Analytics support.
  • UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.

Skins (Color Variations)

This theme comes in nine different skins (including the default one).

aircontrastdark
air skincontrast skindark skin
dirtmintsunrise
dirt skinmint skinsunrise skin
aquaneonplum
aqua skinneon skinplum skin

Demo Pages

NameDescription
Post with Header ImageA post with a large header image.
HTML Tags and Formatting PostA variety of common markup showing how the theme styles them.
Syntax Highlighting PostPost displaying highlighted code.
Post with a GalleryA post showing several images wrapped in <figure> elements.
Sample Collection PageSingle page from a collection.
Categories ArchivePosts grouped by category.
Tags ArchivePosts grouped by tag.

Additional sample posts are available under posts archive on the demo site. Source files for these (and the entire demo site) can be found in /docs.

Installation

There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.

Ruby Gem Method

  1. Install the theme as a Ruby Gem by adding it to your Gemfile like so:

    gem "minimal-mistakes-jekyll"
  2. Fetch and update bundled gems by running the following Bundler command:

    bundle
  3. Set the theme in your project's Jekyll _config.yml file:

    theme: minimal-mistakes-jekyll

To update the theme run bundle update.

GitHub Pages Method

  1. Create/replace the contents of your Gemfile with the following:

    source "https://rubygems.org"gem "github-pages", group: :jekyll_plugins
  2. Fetch and update bundled gems by running the following Bundler command:

    bundle
  3. Add remote_theme: "mmistakes/minimal-mistakes" to your _config.yml file. Remove any other theme: or remote_theme: entry.

Usage

For detailed instructions on how to configure, customize, add/migrate content, and more read the theme's documentation.


Contributing

Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or fixing a bug? Then by all means submit an issue or pull request. If this is your first pull request, it may be helpful to read up on the GitHub Flow first.

Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.

This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.

Pull Requests

When submitting a pull request:

  1. Clone the repo.
  2. Create a branch off of master and give it a meaningful name (e.g. my-awesome-new-feature).
  3. Open a pull request on GitHub and describe the feature or fix.

Theme documentation and demo pages can be found in the /docs if submitting improvements, typo corrections, etc.

Development

To set up your environment to develop this theme, run bundle install.

To test the theme, run bundle exec rake preview and open your browser at http://localhost:4000/test/. This starts a Jekyll server using content in the test/ directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.


Credits

Creator

Michael Rose

Icons + Demo Images:

Other:


License

The MIT License (MIT)

Copyright (c) 2013-2018 Michael Rose and contributors

Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

Minimal Mistakes incorporates icons from The Noun Projectcreators Garrett Knoll, Arthur Shlain, and tracy tam.Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).

Minimal Mistakes incorporates Font Awesome,Copyright (c) 2017 Dave Gandy.Font Awesome is distributed under the terms of the SIL OFL 1.1and MIT License.

Minimal Mistakes incorporates photographs from Unsplash.

Minimal Mistakes incorporates Susy,Copyright (c) 2017, Miriam Eric Suzanne.Susy is distributed under the terms of the BSD 3-clause "New" or "Revised" License.

Minimal Mistakes incorporates Breakpoint.Breakpoint is distributed under the terms of the MIT/GPL Licenses.

Minimal Mistakes incorporates FitVids.js,Copyright (c) 2013 Dave Rubert and Chris Coyier.FitVids is distributed under the terms of the WTFPL License.

Minimal Mistakes incorporates Magnific Popup,Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.Magnific Popup is distributed under the terms of the MIT License.

Minimal Mistakes incorporates jQuery Smooth Scroll,Copyright (c) 2017 Karl Swedberg.jQuery Smooth Scroll is distributed under the terms of the MIT License.

Minimal Mistakes incorporates GreedyNav.js,Copyright (c) 2015 Luke Jackson.GreedyNav.js is distributed under the terms of the MIT License.

Minimal Mistakes incorporates Jekyll Group-By-Array,Copyright (c) 2015 Max White [email protected].Jekyll Group-By-Array is distributed under the terms of the MIT License.

Minimal Mistakes incorporates @allejo's Pure Liquid Jekyll Table of Contents,Copyright (c) 2017 Vladimir Jimenez.Pure Liquid Jekyll Table of Contents is distributed under the terms of the MIT License.

Minimal Mistakes incorporates Lunr,Copyright (c) 2017 Oliver Nightingale.Lunr is distributed under the terms of the MIT License.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
acnb-theme-geek: 这是一个博客园皮肤,基于 awescnb 构建发布时间:2022-02-14
下一篇:
Heiteo: Typecho的自用主题Heiteo发布时间:2022-02-14
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap