在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:patdryburgh/hitchens开源软件地址:https://github.com/patdryburgh/hitchens开源编程语言:SCSS 59.6%开源软件介绍:
An inarguably well-designed Jekyll theme by Pat Dryburgh. Undoubtably one of the great minds of our time, Christopher Hitchens challenged his readers to think deeply on topics of politics, religion, war, and science. This Jekyll theme's design is inspired by the trade paperback version his book, Arguably, and is dedicated to his memory. Quick StartThis theme is, itself, a Jekyll blog, meaning the code base you see has everything you need to run a Jekyll powered blog! To get started quickly, follow the instructions below:
Manual InstallationIf you've already created your Jekyll site or are comfortable with the command line, you can follow Jekyll's Quickstart instructions add this line to your Jekyll site's gem "hitchens-theme" And add the following lines to your Jekyll site's theme: hitchens-theme Depending on your site's configuration, you may also need to add: ignore_theme_config: true And then on the command line, execute:
Or install the theme yourself as:
UsageHome LayoutThe The masthead of the home page is derived from the NavigationTo include a navigation menu in your site's masthead and footer:
Be sure to start your PaginationTo paginate your posts, add the following line to your site's
Then, add the following lines to your site's
You can set the ExcerptsTo show excerpts of your blog posts on the home page, add the following settings to your site's
By default, excerpts that have more than 140 characters will be truncated to 20 words. In order to override the number of words you'd like to show for your excerpts, add the following setting to your site's
To disable excerpt truncation entirely, simply set
If you do this, the theme will still respect Jekyll's Title-less PostsIf you want to publish posts that don't have a title, add the following setting to the front matter of the post:
When you do this, the home page will display a truncated excerpt of the first paragraph of your post. Note that setting Post LayoutA sparsely decorated layout designed to present long-form writing in a manner that's pleasing to read. To use the post layout, add the following to your post's front matter:
IconsThe JSON Feed spec states that feeds should include an icon. To add your icon, add the following line in your site's
Then, replace the CreditsThe theme credits that appear at the bottom of each page can be turned off by including the following line in your site's
SearchThe theme uses a custom DuckDuckGo Search Form that can be turned off by including the following line in your site's
FontI spent a good amount of time trying to identify the font used on the front cover of the trade paperback version of Arguably. Unfortunately, I failed to accurately identify the exact font used. If you happen to know what font is used on the book cover, I would appreciate you letting me know :) The theme includes a version of EB Garamond, designed by Georg Duffner and Octavio Pardo. It's the closest alternative I could come up with that included an open license to include with the theme. A copy of the license has been included in the Contributing & Requesting FeaturesBug reports, feature requests, and pull requests are welcome on GitHub at https://github.com/patdryburgh/hitchens. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. DevelopmentTo set up your environment to develop this theme, run The theme is setup just like a normal Jekyll site. To test the theme, run LicenseThe code for this theme is available as open source under the terms of the MIT License. The font, EB Garamond, is Copyright 2017 The EB Garamond Project Authors and licensed under the SIL Open Font License Version 1.1. Graphics are released to the public domain. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论