🕊️ Dove is a Jekyll theme development project. We are currently working on the following themes.
Get a quick and easy way to build a website. Build your website on GitHub Pages using ready-to-go templates and components. You can use Markdown, Pug or HTML to code your website. Set and style any page instantly, just by referring to our pre-configured assets. Should you require any further personalization, you can customize every detail as needed, from global defaults to specific components.
We handles the necessary foundation so you can focus on your code.
Warning
Dove is constantly under active development. Beta builds may break your site without you noticing. Do not use them directly. Instead, visit individual theme's homepage for a stable release.
To use the theme on your site:
-
Add the following lines to the
_config.ymlfile at the root of your site's repository:remote_theme: techie-joe/dove plugins: - jekyll-remote-theme
-
Clear out any existing values of
theme. -
Then, activate GitHub Pages for your site.
For detailed instruction, see The GitHub Pages Walkthrough.
Set the following variables in your site's _config.yml file.
title : "The title of your site"
description : "Short description of your site."Additionally, you may also set:
ghost: your-tracking-id
# to track your ThemeJs.
google_analytics: your-tracking-id
# to track your website using Google Analytics.
cloudflare_analytics: your-tracking-id
# to track your website using Cloudflare Analytics.
show_downloads: true
# true or false (unquoted).
# to indicate whether to provide a download URL.To add your own custom styles:
-
Create a file called
/assets/css/style.scssin your site's repository with the following content, exactly as shown:--- --- @import "dove";
-
Add any custom styles immediately after the
@importline.
Note: To change the theme's SASS variables, you must set new values before the @import line in your stylesheet.
All theme layouts in the _layouts folder and theme components in the _includes folder provide a good starting point of things you can customize. To override a file, create a mirror copy of that file in your site's repository reflecting the exact path and file-name.
For example, to change the default layout:
- Copy the
/_layouts/default.htmlfile to your site's repository. - Then customize it as you'd like.
Pro-tip: click "raw" to make copying easier.
Paste the analytics code into your site's _includes/google_analytics.html file.
The theme rely on GitHub values, such as links to your repository or links to download your project.
To override the default values:
-
Look at the theme source file (in the
_layoutsand_includesfolder) to determine the name of the variable. It will be in the form of:{% raw %}
{{ site.github.zip_url }}{% endraw %}
-
Specify the value you'd like to use in your site's
_config.ymlfile. Jekyll will use the value you specified, instead of the default one.For example, if the variable was
site.github.zip_url, add the following:github: zip_url: http://example.com/download.zip # another_url: another_value
Note: Ignore the
site.prefix, and maintain the two space indent for each sub variables.
For more information, see Jekyll documentation on Variables.
To run the theme locally:
-
Clone the theme's repository into your computer:
git clone https://github.com/techie-joe/dove -
Go to the cloned directory.
-
Add the following code to your site's
Gemfile:gem "github-pages", group: :jekyll_plugins
-
Run
script/bootstrapto install necessary dependencies.This is a required one-time setup before other script can function.
-
Then run
script/serveto start the server. -
Visit localhost:4000 in your browser to see the template.
This project contains a minimal test suite, to ensure a site with the theme would build successfully.
To run the tests:
-
Run
script/bootstrapto install necessary dependencies.This is a required one-time setup before other script can function.
-
Then run
script/cibuildto start the test.
Interested in contributing to the Dove project? We'd love your help. Dove is an open source project, built one contribution at a time by users like you. Go ahead and start a discussion.
See the open issues for a list of proposed features and known issues.
Dove is an open source project licensed under the MIT LICENSE. You're allowed to use the code with conditions only requiring preservation of copyright and license notices.