当前位置: 首页 > 软件库 > Web应用开发 > >

jekyll-indieweb

授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 云凌
操作系统 未知
开源组织
适用人群 未知
 软件概览

Jekyll-IndieWeb

Welcome to Jekyll-Indieweb. The goal of this project was to provide someone without a web presence a quick and easy way to start using the basics of the Indieweb. It has now evolved into a formal Jekyll theme, with a companion repository for demonstrating how to use the theme (and eventually, include GitHub Actions and/or Netlify for deploy.)

Visit Steal This Repo if you would like a starter repository you can fork and customize while benefiting from improvements in this theme.

Motivation

I've followed along a few IndieWeb Camps and observed a few people new to both the indieweb as well as having their own web presence. I wanted to provide another option for those users to have a fairly simple method to easily get up and going with with a web site ready for indieweb and be able to dive in.

Installation

If you have never set up Jekyll or Ruby in your local environment, we recommend the Jekyll docs for installing on your platform.

We use the latest stable Ruby version for development

We also use Gulp for our build tool. Though Jekyll has support for Sass, we have opted to write plain CSS for 2019 browsers and let the tools backfill for compatibility. If you haven't worked with Gulp before, we recommend their getting started docs which includes a link to Node install steps

Clone the repository

git clone https://github.com/miklb/jekyll-indieweb.git

navigate to the directory

cd jekyll-indieweb

install the Jekyll dependencies

bundle install

install the Gulp dependencies

npm i

Gulpfile has two main tasks: build and watch

build does just that - builds the _site directory.

watch watches both assets/css/_inc directory to check for CSS changes as well as Jekyll file changes and rebuilds the appopriate files.

A note about the CSS All CSS is in the _inc directory is plain CSS. Current browser support for variables is strong, but we use PostCSS to fill in browser compatibility. PostCSS also compiles assets/css/_inc/main.css into assets/css/main.css. You should never need to edit assets/css/main.css file directly.

Note The Jekyll Gulp task replaces the need to use bundle exec jekyll serve. Instead, use gulp watch.

Reminder that this is a Jekyll theme, not a stand alone site.

We optimized the build tools in this project with three goals:

  • quick deploy.
  • provide an out-of-the-box experience when using the theme as is.
  • allow overriding main.css in the individual response site for event specific customizations.

When submitting a new Pull Request with CSS changes, make sure to edit a file in _inc and commit all file changes with your PR.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

2.0.0 beta initial release as a theme gem.0.2.1 minor changes in preparation for 2.0 milestone0.2 Initial Support for Micropub posts0.1 Initial release

Credits

Inspiration for the general aesthetics came from the Jekyll Type theme

svg social icons on CodePen.

Pelle Wessman - for his work on Jekyll & IndieWeb, particularly Micropub

License

See the LICENSE file.

 相关资料
  • Jekyll 是一个简单的免费的Blog生成工具,类似WordPress。但是和WordPress又有很大的不同,原因是jekyll只是一个生成静态网页的工具,不需要数据库支持。但是可以配合第三方服务,例如discuz。最关键的是jekyll可以免费部署在Github上,而且可以绑定自己的域名。 快速安装指令: gem install jekylljekyll new my-awesome-sit

  • 中文网站 jekyllcn 快速开始 ~ $ gem install jekyll bundler ~ $ jekyll new my-awesome-site ~ $ cd my-awesome-site ~/my-awesome-site $ bundle install ~/my-awesome-site $ bundle exec jekyll serve # => 打开浏览器 http

  • jekyll-admin 是一个 jekyll 插件,为用户提供了传统 CMS(内容管理系统)风格的图形化界面来创作内容和管理 jekyll 网站。 该项目分为两部分。基于 Ruby 的 HTTP API 处理 jekyll 和文件系统的操作部分,以及在这个 API 基础上的基于 JavaScript 的前端部分。 安装: 就像安装其他插件一样,请参阅 jekyll 文档的插件安装部分安装 jek

  • Jekyll的增强版,使用Markdown来写日志。 Jekyll采用静态文件方式管理,不需要数据库即可支持一个独立博客站点,在github-pages平台上被普遍采用。Jekyll-Bootstrap在Jekyll基础上,集成了twitter-bootstrap界面风格和一些实用的插件,并且易于扩展。

  • Jekyll Docker Jekyll Docker is a software image that has Jekyll and many of its dependencies ready to use for you in an encapsulated format. It includes a default set of gems, different image types wi

  • jekyll-katex This is a Jekyll plugin for performing compile-time math rendering via the KaTeX library.KaTeX is a library for rending math on the web using LaTeX, similar to MathJax. KaTeX differs from