Welcome to the city-jekyll theme! This is the theme for City Evangelical Church website. It's built using Jekyll, some clever Github Actions, NPM and Primitive UI. The theme is a design toolkit for developing fast sass-y, responsive websites with browser-consistent styling and postcss superpowers.
Demo available: here
The original primitive UI and it's documentation is available as a boilerplate/primitive framework for any project and its awesome. The beauty of Primitive is the ease with which you can create unique designs in a beautiful, simple system.
https://github.com/taniarascia/primitive.git
Add this line to your Jekyll site's Gemfile
:
gem "city-jekyll-theme"
And add this line to your Jekyll site's _config.yml
:
theme: city-jekyll-theme
And then execute:
$ bundle
Or install it yourself as:
$ gem install city-jekyll-theme
Since November 2017 you can use this theme by adding:
remote_theme: woodcox/city-jekyll
to your_config.yml
file.
City-jekyll
ā
āāāā _data
| āāāā contacts.yml
| āāāā cookies-used.yml
| āāāā nav.yml
ā
āāāā _includes
ā āāāā components
ā ā āāāā accent-accordion.html
ā ā āāāā accordion.html
ā ā āāāā action-cards.html
ā ā āāāā analytics.js
ā ā āāāā audio-cards.html
ā ā āāāā calendar.html
ā ā āāāā contact-button.html
ā ā āāāā flip-cards.html
ā ā āāāā image-cards.html
ā ā āāāā impact-font.html
ā ā āāāā lazy-images.html
ā ā āāāā muted-accordion.html
ā ā āāāā profile-cards.html
ā ā āāāā round-accordion.html
ā ā āāāā sermons-list.html
ā ā āāāā square-accordion.html
ā ā āāāā srcset-images.html
ā ā āāāā table.html
ā ā āāāā video-cards.html
ā ā āāāā youtube-video.html
ā ā
| āāāā modules
ā ā āāāā breadcrumbs.html
ā ā āāāā cookies-consent.html
ā ā āāāā nav-back.html
ā ā āāāā preloader.html
ā ā āāāā scroll-up.html
ā ā āāāā search_lunr.html
ā ā
| āāāā svg
ā ā āāāā cec-building-curved.svg
ā ā āāāā city-vector.svg
ā ā āāāā fiec.svg
ā ā
| āāāā templates
ā āāāā docs-hero.html
ā āāāā footer.html
ā āāāā head.html
ā āāāā hero.html
ā āāāā navbar.html
ā āāāā page-hero.html
ā āāāā secondary-nav.html
ā
āāāā _layouts
ā āāāā compress.html
ā āāāā default.html
ā āāāā docs-layout.html
ā āāāā home.html
ā āāāā sectioned-page.html
ā āāāā single-page.html
ā
āāāā _plugins
ā āāāā inline-sass.rb
ā
āāāā _sass
ā āāāā base
ā ā āāāā _mixins.scss
ā ā āāāā _normalize.scss
ā ā āāāā _reset.scss
ā ā āāāā _variables.scss
ā ā
ā āāāā components
ā ā āāāā _accordion.scss
ā ā āāāā _animation.scss
ā ā āāāā _buttons.scss
ā ā āāāā _cards.scss
ā ā āāāā _colors.scss
ā ā āāāā _forms.scss
ā ā āāāā _media.scss
ā ā āāāā _slider.scss
ā ā āāāā _tables.scss
ā ā āāāā _timeline.scss
ā ā
ā āāāā core
ā ā āāāā _grid.scss
ā ā āāāā _helpers.scss
ā ā āāāā _scaffolding.scss
ā ā
ā āāāā fonts
ā ā āāāā _fontawesomesvg.scss
ā ā āāāā _syntax-highlight.scss
ā ā āāāā _webfonts.scss
ā ā
ā āāāā layouts
ā āāāā _footer.scss
ā āāāā _hero.scss
ā āāāā _navigation.scss
ā
āāāā assets
ā ā
ā āāāā css
ā ā āāāā city.scss
ā āāāā img
ā ā āāāā 1000
ā ā āāāā 1160
ā ā āāāā 400
ā ā āāāā 600
ā ā āāāā 800
ā ā āāāā faicons
ā ā āāāā master
ā āāāā js
ā ā āāāā contacts.js
ā ā āāāā site.js
ā ā āāāā smoothscroll-polyfill.js
ā ā āāāā snap-slider.min.js
ā āāāā webfonts
ā āāāā icons
ā āāāā sanchez
ā
āāāā pages
ā āāāā _docs
ā āāāā _drafts
ā āāāā _home
ā āāāā _media
ā āāāā _posts
ā āāāā _sunday
| āāāā cookies.md
ā āāāā html-test.html
ā āāāā primitive.html
ā āāāā privacy.md
ā āāāā safeguarding.md
ā āāāā template.html
ā āāāā we-beleive.md
ā
āāāā .browserslistrc
āāāā .gitignore
āāāā 404.md
āāāā gemfile
āāāā gemfile.lock
āāāā LICENCE.md
āāāā README.md
āāāā SECURITY.md
āāāā _config.yml
āāāā browserconfig.xml
āāāā city-jekyll-theme.gemspec
āāāā index.md
āāāā npm.md
āāāā package-lock.json
āāāā package.json
āāāā postcss.config.js
āāāā robot.txt
āāāā site.webmanifest
āāāā sitemap.xml
Now you can begin modifying variables in variables.scss
. This file will define your colors, typography, sizes, breakpoints, buttons, borders, and more. Define all your variables here to keep your project organized.
You can view city-jekyll/docs/html-test/
or city-jekyll/docs/
to see some example elements as you make changes.
This gem offers some main layouts that can be used/edited:
_layouts/default.html
, is the skeleton of the pages, where header,footer, assets are called. It should be used in most of the other layouts,_layouts/home.html
is the main layout the will be your home, where your blog posts will be shown;_layouts/post.html
is the layout used to present the blog posts themselves, where they will be rendered.Inside the _includes/
directory there are the partials that are used inside the layouts.
To edit the current JavaScript functions of the gem, the file you are looking for is in assets/js/site.js
.
Your blog posts (*.md
files) should be put in the _posts
directory.
Bug reports and pull requests are welcome on GitHub at https://github.com/woodcox/city-jekyll. This project is welcomes collaboration, but contributors are expected to adhere to the Contributor Covenant code of conduct.
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
, and _sass
tracked with Git will be released.
This theme was inspired by:
The theme is available as open source under the terms of the MIT License. However the following directory and its content is copyright of City Evangelical Church. You may not reuse anything therein without the church's written permission:
/assets/img