{"id":14979508,"url":"https://github.com/zivong/jekyll-theme-hydure","last_synced_at":"2025-04-09T22:13:58.823Z","repository":{"id":43178779,"uuid":"361735956","full_name":"zivong/jekyll-theme-hydure","owner":"zivong","description":"A concise two-column blog theme for Jekyll.","archived":false,"fork":false,"pushed_at":"2023-12-20T12:42:21.000Z","size":22728,"stargazers_count":30,"open_issues_count":0,"forks_count":76,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T21:02:10.882Z","etag":null,"topics":["blog","jekyll","jekyll-theme"],"latest_commit_sha":null,"homepage":"https://zivong.blog/jekyll-theme-hydure/","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zivong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-26T12:07:53.000Z","updated_at":"2023-05-27T04:16:44.000Z","dependencies_parsed_at":"2024-09-11T14:37:13.820Z","dependency_job_id":null,"html_url":"https://github.com/zivong/jekyll-theme-hydure","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivong%2Fjekyll-theme-hydure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivong%2Fjekyll-theme-hydure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivong%2Fjekyll-theme-hydure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivong%2Fjekyll-theme-hydure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zivong","download_url":"https://codeload.github.com/zivong/jekyll-theme-hydure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119291,"owners_count":21050755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","jekyll","jekyll-theme"],"created_at":"2024-09-24T14:00:11.188Z","updated_at":"2025-04-09T22:13:58.803Z","avatar_url":"https://github.com/zivong.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hydure \u003c!-- omit in toc --\u003e\n\nHydure is a concise two-column blog theme for Jekyll. It is built on the [Pure.css](https://github.com/pure-css/pure) framework.\n\nCheck out the [demo](https://zivong.blog/jekyll-theme-hydure/).\n\n![Screenshot](screenshot.png)\n\n## Highlight Features \u003c!-- omit in toc --\u003e\n\n- [Open Color](https://github.com/yeun/open-color)\n- Dark mode, via [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)\n- [Font Awesome](https://fontawesome.com/)\n- [Jekyll Paginate](https://github.com/jekyll/jekyll-paginate)\n- [Jekyll Feed](https://github.com/jekyll/jekyll-feed/)\n- [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag/)\n- [MathJax](https://www.mathjax.org/)\n- [Disqus](https://disqus.com/)\n- [Google Analytics 4](https://support.google.com/analytics/answer/10089681?hl=en)\n- Archive implemented by pure [Liquid](https://shopify.github.io/liquid/)\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Global Configuration](#global-configuration)\n  - [Post Configuration](#post-configuration)\n  - [Homepage](#homepage)\n  - [Custom Head](#custom-head)\n  - [Navigation](#navigation)\n  - [Social Links](#social-links)\n  - [Alert Messages](#alert-messages)\n  - [Archive](#archive)\n- [Contributing](#contributing)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n\nAdd this line to your Jekyll site's `Gemfile`:\n\n```ruby\ngem \"jekyll-theme-hydure\"\n```\n\nAnd add this line to your Jekyll site's `_config.yml`:\n\n```yaml\ntheme: jekyll-theme-hydure\n```\n\nAnd then execute:\n\n```shell\nbundle\n```\n\nOr install it yourself as:\n\n```shell\ngem install jekyll-theme-hydure\n```\n\nIf your website is hosted on GitHub Pages, you can install this theme via [`jekyll-remote-theme`](https://github.com/benbalter/jekyll-remote-theme).\n\nAdd the following to your `Gemfile`:\n\n```ruby\ngem \"jekyll-remote-theme\"\n```\n\nAnd add this line to your Jekyll site's `_config.yml`:\n\n```yml\nplugins:\n  - jekyll-remote-theme\n```\n\nAdd the following to your site's `_config.yml`:\n\n```yml\nremote_theme: zivong/jekyll-theme-hydure\n```\n\n## Usage\n\n### Global Configuration\n\n| Variable | Type | Default | Specification |\n| -------- | ---- | ------- | ------------- |\n| `lang` | String | `en` | The language of pages; The value can be overwritten by the `lang` variable on each page. |\n| `title` | String | --- | The title of the website |\n| `tagline` | String | --- | The tagline of the website |\n| `cover` | String | --- | The URL of the sidebar cover image; The value can be overwritten by the `cover` variable on each page. |\n| `author.name` | String | --- | The name of the website author |\n| `author.url` | String | --- | A URL of the website author |\n| `disqus` | String | --- | Disqus short name |\n| `google_analytics` | String | --- | Google Analytics 4 Measurement ID |\n| `tags_path` | String | --- | A path to the archive-by-tags page; It is used by tags on each post |\n| `categories_path` | String | --- | A path to the archive-by-categories page; It is used by categories on each post |\n\n### Post Configuration\n\n| Variable | Type | Default | Specification |\n| -------- | ---- | ------- | ------------- |\n| `description` | String | --- | A description of the current post |\n| `last_modified_at` | String | --- | The date of the last modification you made on a post after its publishing |\n| `author` | String or Array | --- | The author name(s) of the post |\n| `math` | Boolean | `false` | Does enable MathJax on this page |\n| `comments` | Boolean | `true` | Does enable the Disqus comment system |\n\n### Homepage\n\nYou can create a homepage for your site by setting `layout: home` in your `index.html`.\n\n### Custom Head\n\nHydure leaves a placeholder to allow defining custom head. All you need to do is putting data into `_includes/custom-head.html`, and they would be automatically included in `\u003chead\u003e`.\n\n### Navigation\n\nThe navigation menu of Hydure is configurable. You just need to specify titles and URLs in the file `_data/navigation.yml`, for example,\n\n```yml\n- title: Home\n  url: /\n- title: About\n  url: /about/\n- title: Archive\n  url: /archive/\n```\n\n### Social Links\n\nHydure allows you to show social links on your website. All you need to do is creating a file `_data/social.yml`, for example,\n\n```yml\n- title: Email\n  url: mailto:zivong@protonmail.com\n  icon: fas fa-envelope\n- title: Twitter\n  url: https://twitter.com/zivong91\n  icon: fab fa-twitter\n- title: GitHub\n  url: https://github.com/zivong\n  icon: fab fa-github\n```\n\n### Alert Messages\n\nHydure provides a predefined class `message` to specify **alert messages**. You may add it to single elements like a `\u003cp\u003e`, or to a parent if there are multiple elements to show.\n\n### Archive\n\nHydure provides some built-in archive pages. It is implemented in pure Liquid. If you want to archive posts by years, you can create a page and put these code in it:\n\n```yml\n---\nlayout: archive\ntype: years\n---\n```\n\nSimilarly, if you want to archive posts by categories or tags, you can set the `type` property as `categories` or `tags`.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/zivong/jekyll-theme-hydure. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Development\n\nTo set up your environment to develop this theme, run `bundle install`.\n\nYour 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.\n\nWhen your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.\nTo add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-hydure.gemspec` accordingly.\n\n## License\n\nThe theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivong%2Fjekyll-theme-hydure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzivong%2Fjekyll-theme-hydure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivong%2Fjekyll-theme-hydure/lists"}