Skip to content

🏬 City-Jekyll theme and style guide for a fast, sass-y responsive website with postcss superpowers.

License

Notifications You must be signed in to change notification settings

woodcox/city-jekyll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏬 City-Jekyll

License: MIT

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

Primitive UI

primitive-ui on NPM

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

Installation (not ready yet)

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.

Usage

Project tree:

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:

  • The _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,
  • The _layouts/home.html is the main layout the will be your home, where your blog posts will be shown;
  • The _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.

Contributing

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.

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, and _sass tracked with Git will be released.

Credits

This theme was inspired by:

License

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages