All Projects β†’ huhu β†’ juice

huhu / juice

Licence: MIT License
🍹 An intuitive, elegant, and responsive Zola theme for product sites.

Programming Languages

HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to juice

butler
A clean blog theme for Zola
Stars: ✭ 14 (-83.33%)
Mutual labels:  zola, zola-theme
simple-dev-blog-zola-starter
A simple dev-blog theme for Zola.
Stars: ✭ 30 (-64.29%)
Mutual labels:  zola, zola-theme
hermit zola
Minimal Zola theme for bloggers
Stars: ✭ 34 (-59.52%)
Mutual labels:  zola, zola-theme
DeepThought
A simple blog theme focused on writing powered by Bulma and Zola.
Stars: ✭ 100 (+19.05%)
Mutual labels:  zola
zola-deploy-action
Github action for building a Zola site and deploying to Github Pages
Stars: ✭ 131 (+55.95%)
Mutual labels:  zola
zola-sam
🌐 A Simple and Minimalist theme with a focus on typography and content.
Stars: ✭ 32 (-61.9%)
Mutual labels:  zola
zola-api
Zola’s API.
Stars: ✭ 23 (-72.62%)
Mutual labels:  zola
readme-in-static-site
πŸ’Ž Transform and insert your GitHub readme in your static site.
Stars: ✭ 24 (-71.43%)
Mutual labels:  zola

Juice

Juice is an intuitive, elegant, and responsive Zola theme for product sites.

  • Build for product sites
  • Simple and intuitive structure
  • Clean and elegant design
  • Responsive and mobile device compatible
  • Customize and extend friendly

https://juice.huhu.io

Installation

First download this theme to your themes directory:

$ cd themes
$ git clone https://github.com/huhu/juice.git

or add as a submodule

$ git submodule add https://github.com/huhu/juice  themes/juice

and then enable it in your config.toml:

theme = "juice"

Structure

Hero

Juice is designed for product websites, hence we let hero part fills whole of screen. You can customize your hero by using hero block in the index.html.

{% extends "juice/templates/index.html" %}
{% block hero %}
    <div>
        Your cool hero html...
    </div>
{% endblock hero %}

Page

Every markdown file located in content directory will become a Page. There also will display as a navigate link on the top-right corner. You can change the frontmatter's weight value to sort the order (ascending order).

+++
title = "Changelog"
description = "Changelog"
weight = 2
+++

CSS variables

You can override theme variable by creating a file named _variables.html in your templates directory.

<style>
    :root {
        /* Primary theme color */
        --primary-color: #FED43F;
        /* Primary theme text color */
        --primary-text-color: #543631;
        /* Primary theme link color */
        --primary-link-color: #F9BB2D;
        /* Secondary color: the background body color */
        --secondary-color: #fcfaf6;
        --secondary-text-color: #303030;
        /* Highlight text color of table of content */
        --toc-highlight-text-color: #d46e13;
    }
</style>

Favicon

{% extends "juice/templates/index.html" %}
{% block favicon %}
    <link rel="icon" type="image/png" href="/favicon.ico">
{% endblock favicon %}

Configuration

You can customize some builtin property in config.toml file:

[extra]
juice_logo_name = "Juice"
juice_logo_path = "juice.svg"
juice_extra_menu = [
    { title = "Github", link = "https://github.com/huhu/juice"}
]
repository_url = "https://github.com/huhu/juice"

Shortcodes

Juice have some builtin shortcodes available in templates/shortcodes directory.

  • issue(id) - A shortcode to render issue url, e.g. issue(id=1) would render to the link https://github.com/huhu/juice/issue/1.

The repository_url is required.

Showcases

Please see the showcases page.

Contributing

Thank you very much for considering contributing to this project!

We appreciate any form of contribution:

  • New issues (feature requests, bug reports, questions, ideas, ...)
  • Pull requests (documentation improvements, code improvements, new features, ...)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].