jekyllBear

所属分类:博客
开发工具:HTML
文件大小:0KB
下载次数:0
上传日期:2023-09-21 05:18:29
上 传 者sh-1993
说明:  一个易于使用的、最小的、以文本为中心的Jekyll主题,
(An easy to use, minimal, text focused Jekyll theme,)

文件列表:
404.html (182, 2023-06-17)
Gemfile (69, 2023-06-17)
LICENSE.txt (1067, 2023-06-17)
_config.yml (1144, 2023-06-17)
_includes/ (0, 2023-06-17)
_includes/footer-post.html (1651, 2023-06-17)
_includes/footer.html (788, 2023-06-17)
_includes/head.html (824, 2023-06-17)
_includes/header.html (378, 2023-06-17)
_includes/image-gallery.html (1014, 2023-06-17)
_layouts/ (0, 2023-06-17)
_layouts/blog.html (1229, 2023-06-17)
_layouts/compress.html (4502, 2023-06-17)
_layouts/default.html (181, 2023-06-17)
_layouts/design-post.html (299, 2023-06-17)
_layouts/page.html (262, 2023-06-17)
_layouts/post.html (306, 2023-06-17)
_layouts/tagged.html (1216, 2023-06-17)
_my_tags/ (0, 2023-06-17)
_my_tags/design.md (33, 2023-06-17)
_my_tags/fiction.md (35, 2023-06-17)
_my_tags/general.md (35, 2023-06-17)
_my_tags/poem.md (29, 2023-06-17)
_posts/ (0, 2023-06-17)
_posts/2020-08-23-bored.md (1881, 2023-06-17)
_posts/2020-10-02-a-short-affair.md (985, 2023-06-17)
_posts/2021-06-01-vector-logos.md (540, 2023-06-17)
_posts/2022-05-05-recommender-system-in-prod.md (5261, 2023-06-17)
_posts/2022-05-20-from-forestry-cms.md (3024, 2023-06-17)
assets/ (0, 2023-06-17)
assets/design_assets/ (0, 2023-06-17)
assets/design_assets/Logo_01.png (580114, 2023-06-17)
assets/design_assets/Logo_02.png (12233, 2023-06-17)
assets/design_assets/Logo_03.png (538196, 2023-06-17)
... ...

# jekyllBear ## An easy to use, minimal, text focused Jekyll theme [Bear Blog](https://bearblog.dev/) is *"a blogging platform where words matter most"*. This is a port of it's theme to Jekyll, with some tweaks. So you can use GitHub Pages to host your blog while getting the same awesome Bear Blog feels. **Stop worrying about the style, focus on your writing.** - Looks great on *any* device - Tiny, optimized, and awesome pages, with [a 100 on PageSpeed Insights](https://pagespeed.web.dev/report?url=https%3A%2F%2Fknhash.in%2FjekyllBear%2F) - No trackers, ads, or scripts, *did I mention minimal already?* - Auto light and dark themes - Tag support, to filter blog pages - Quick, *15 minute* setup - Gallery view for your images - Code highlighting ## Screenshots ![Home](https://raw.githubusercontent.com/Knhash/jekyllBear/master/assets/images/JBHome.png?raw=true "Home") ![Blog](https://raw.githubusercontent.com/Knhash/jekyllBear/master/assets/images/JBBlog.png?raw=true "Blog") ![LongForm](https://raw.githubusercontent.com/Knhash/jekyllBear/master/assets/images/JBLongForm.png?raw=true "LongForm") ![Poetry](https://raw.githubusercontent.com/Knhash/jekyllBear/master/assets/images/JBPoetry.png?raw=true "Poetry") ## Installation Add this line to your Jekyll site's `Gemfile`: ```ruby gem "jekyll-bear-theme" ``` And add this line to your Jekyll site's `_config.yml`: ```yaml theme: jekyll-bear-theme ``` And then execute: $ bundle Or install it yourself as: $ gem install jekyll-bear-theme ## Usage Create a new repository for your website (if necessary) ```jekyll jekyll new my_website ``` Copy over the following content from this repository, to serve as a base setup ``` /posts -> Where you will write your posts /_my_tags -> Where you will define your tags, if you need to add anything new blog.md -> Homepage for your blog index.md -> Website homepage 404.html -> When a page is not available ``` You will need to update `_config.yml`. Copy over the lines after ``` ######################### # more settings ``` in the `_config.yml` present in this repository to your website repository `_config.yml`. Any new links you want to add to the navbar goes here, towards the end. This also defines the bits about tags and filtering. There should be 3 kinds of blog posts in the posts folder, an example of each type you can use: - long-form reading - poetry - gallery view Use them as templates for your front matter. >To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/knhash/jekyllBear. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## Development To set up your environment to develop this theme, run `bundle install`. Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal. When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in `jekyllBear.gemspec` accordingly. ## License The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

近期下载者

相关文件


收藏者