Merge branch 'master' of github.com:zerostaticthemes/jekyll-serif-theme

pull/1/head
Robert Austin 2020-10-17 10:14:57 +10:00
commit 227f3cc643
2 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@ Serif is a modern business theme for Jekyll. It contains multiple content types
[Live Demo](https://jekyll-serif.netlify.app/) | [Live Demo](https://jekyll-serif.netlify.app/) |
[Zerostatic Themes](https://www.zerostatic.io) [Zerostatic Themes](https://www.zerostatic.io)
![Jekyll Serif Theme screenshot](https://github.com/JugglerX/jekyll-serif-theme/blob/master/screenshots/jekyll-serif-github-readme-screenshot.png) ![Jekyll Serif Theme screenshot](https://www.zerostatic.io/theme/jekyll-serif/jekyll-serif-screenshot.png)
## Theme features ## Theme features
- Jekyll 4 - Jekyll 4.1
- Services (Collection) - Services (Collection)
- Team (Collection) - Team (Collection)
- Features (Data) - Features (Data)

View File

@ -3,7 +3,7 @@
<ul> <ul>
{% for item in mainmenu %} {% for item in mainmenu %}
<li class="{% if item.url == page.url %}active{% endif %}"> <li class="{% if item.url == page.url %}active{% endif %}">
<a href="{{ item.url }}">{{ item.name }}</a> <a href="{{ item.url | relative_url }}">{{ item.name }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>