Skip to content

Commit

Permalink
feat: (>_ ): HAM v0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhart1010 committed Oct 19, 2023
1 parent bb847e5 commit a06a79d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ external_links:
---

# HAM 🥩

> **BREAKING CHANGE:** HAM is currently being upgraded to Halfmoon 2.0, which introduce visual breaking changes. See <https://github.com/reinhart1010/HAM/issues/6>.
HAM is a Jekyll-based boilerplate template for generating better, static wiki-style websites. HAM can be instantly used to build static wiki pages. But the best of all, the default theme of HAM can be easily customized to create more personalized wiki pages, unlike those from MediaWiki, for example.

This project is built to replace the current, MediaWiki installation at <hackapedia.reinhart1010.id> after I found out difficult to create custom styles for it, while other, Git-based alternatives such as GitHub Wiki sucks (no, really) and may not support self-hosting on shared hosting providers.
Expand Down Expand Up @@ -86,7 +89,7 @@ gem "minima"
on your `Gemfile` with

```gemspec
gem "jekyll-ham", "~> 0.2.3"
gem "jekyll-ham", "~> 0.3.3"
```

Also don't forget to change the `theme` configuration on your `_config.yml` to `jekyll-ham` instead of `minima`.
Expand Down
10 changes: 5 additions & 5 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ <h5 id="on-this-page" class="sidebar-title">On This Page</h5>
<div class="sidebar-divider"></div>
<div id="_ham_on_this_page_ul"></div>
<br>
{% if page.contributing != null || site.ham.contributing != null %}
{% if page.contributing != null or site.ham.contributing != null %}
<h5 id="contribute" class="sidebar-title">Contribute to This Page</h5>
<div class="sidebar-divider"></div>
{% if page.contributing.discuss.type != null || site.ham.contributing.discuss.type != null %}
{% if page.contributing.discuss.type != null or site.ham.contributing.discuss.type != null %}
<a
{% if page.contributing.discuss.type == 'url' || site.ham.contributing.discuss.type == 'url' %}
{% if page.contributing.discuss.type == 'url' or site.ham.contributing.discuss.type == 'url' %}
href="{{ page.contributing.discuss.url | default: site.ham.contributing.discuss.url }}"
{% else %}
#discuss
Expand All @@ -20,15 +20,15 @@ <h5 id="contribute" class="sidebar-title">Contribute to This Page</h5>
Discuss
</a>
{% endif %}
{% if page.contributing.issue_url != null || site.ham.contributing.issue_url != null %}
{% if page.contributing.issue_url != null or site.ham.contributing.issue_url != null %}
<a href="{{ page.contributing.issue_url | default: site.ham.contributing.issue_url }}" class="sidebar-link sidebar-link-with-icon">
<span class="sidebar-icon">
<i class="bi bi-bug" aria-hidden="true"></i>
</span>
Report New Issue
</a>
{% endif %}
{% if page.contributing.view_source_url != null || site.ham.contributing.view_source_base_url != null %}
{% if page.contributing.view_source_url != null or site.ham.contributing.view_source_base_url != null %}
<a
{% if page.contributing.issue_url != null %}
href="{{ page.contributing.view_source_url }}"
Expand Down
5 changes: 2 additions & 3 deletions assets/bootstrap-icons.min.css

Large diffs are not rendered by default.

Binary file modified assets/fonts/bootstrap-icons.woff
Binary file not shown.
Binary file modified assets/fonts/bootstrap-icons.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion jekyll-ham.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-ham"
spec.version = "0.3.2"
spec.version = "0.3.3"
spec.authors = ["Reinhart Previano Koentjoro"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit a06a79d

Please sign in to comment.