No description
Find a file
rottenstonks fa5fb4904d
update
2022-09-29 16:47:53 +00:00
_includes update 2022-07-01 21:43:19 +00:00
_layouts Code cleaned up v1 2022-04-02 11:21:09 +02:00
_posts update 2022-09-29 16:47:53 +00:00
_sass periodicals: change divider color 2022-06-19 12:11:24 +02:00
css fix(periodicals): light mode date color 2022-06-13 19:15:53 +02:00
font Initial commit with site and first Revuo Weekly issue 2019-03-28 22:32:42 -06:00
img Issue 139 2022-09-29 12:44:57 -04:00
js feat(navbar): responsive actions 2022-04-11 17:09:33 +02:00
periodicals periodicals: use time instead of p 2022-04-13 16:24:30 +02:00
source update: source section wording 2022-09-17 01:29:35 +00:00
support Issue 128 2022-07-14 14:49:55 -05:00
.gitignore - Added Issue 25 2019-09-12 17:41:13 -06:00
404.md Initial commit with site and first Revuo Weekly issue 2019-03-28 22:32:42 -06:00
_config.yml Add dark-theme 2022-03-30 17:21:26 +02:00
atom.xml Changed RSS to go to .html 2019-04-30 17:33:17 -07:00
Gemfile feat(navbar): responsive actions 2022-04-11 17:09:33 +02:00
Gemfile.lock feat(navbar): responsive actions 2022-04-11 17:09:33 +02:00
index.html Update index.html 2022-04-12 19:06:34 -05:00
license.md Initial commit with site and first Revuo Weekly issue 2019-03-28 22:32:42 -06:00
readme.md Initial commit with site and first Revuo Weekly issue 2019-03-28 22:32:42 -06:00

About

Emerald is a minimal theme created for Jekyll. The main purpose of Emerald is to provide a clear theme for those who want a blog ready to use, focused on the content and mobile-first.

Emerald

Setup & usage

Emerald may be installed by simply downloading the .zip folder from the repository on Github.

After extracting the content from the folder into the selected directory, you can type jekyll serve from the terminal, than open your browser to 0.0.0.0:4000/emerald/ and you will find it there.

Additionally it is possible to fork the repository and use Github Pages as hosting. By following this way it will be enough to change the baseurl value into the _config.yml file, with the directory name of your project (for example /blog) or simply with a "/" (slash) if you want install Emerald in the root.

Options

Starting from the 1.1.0 version, you can customize Emerald thanks to a few options. Now it is possible to set a custom header tag by setting the related option in the _config.yml file to "true". Then insert your custom code into the header-custom.html file. In the same way, you can customize the footer of the navigation menu, by setting to "true" the related option and put your code into the nav-footer-custom.html file. Moreover it is now possible to select a reverse option that allows to move the navigation menu to the left side, by setting it to "true".

Colors

The basic colors are set into the base.scss file:

  • $main-color: used for the menu, title, link and footer
  • $background-color: used for background and links in the navigation menu
  • $text-color: used for text and title in posts and pages

To customize the colors, just set the values in HEX, RGB (or RGBa) or any other format accepted by CSS.

Navigation menu

Starting from the 1.1.0 version, the links inside the navigation menu are autogenerated from pages having the layout set to page. You can set custom links, by putting in the <a> tag into the link.html file.

Branch

Emerald has two branch:

  • master: is for developing pourpose.
  • gh-pages: is only for demo site.

Baseurl

Emerald was thought to be used mainly with Github, in particular into project site. For this reason several tags have been included {{ site.baseurl }} to refer to the "/emerald/" directory. You can change the "baseurl" value into the config.yml file, to match your directory (for example "/blog/") or the root of your project. In that case you must set the "baseurl" value to "/".

Typography

To maintain the vertical rhythm, it has been applied a Typographic scale as a modular scale, with a baseline set to 24px. To maintain this rhythm you need to insert elements like image, video or other contents with a 24px (or multiple) height as refer.

Last but not least: the Jekyll documentation is the best starting point!

Author

Jacopo Rabolini

License

Emerald is released under MIT License.