Skip to content

Commit

Permalink
Change _index.md to index.md, as to convert sections into pages (in Z…
Browse files Browse the repository at this point in the history
…ola parlance).
  • Loading branch information
mayo committed Jun 19, 2024
1 parent d712357 commit 05bf3df
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 54 deletions.
File renamed without changes.
47 changes: 0 additions & 47 deletions content/colophon/colors.md

This file was deleted.

2 changes: 1 addition & 1 deletion content/colophon/_index.md → content/colophon/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ extra:
- kind: tags
term: sitebuild
---
This website is hand crafted, generated with [Zola](https://www.getzola.org), and source managed at [GitHub](https://github.com). It is built with [CircleCI](http://circleci.com), deployed to [Amazon S3](http://aws.amazon.com/s3), and served to you by [CloudFlare](http://cloudflare.com). You can view the sources and build scripts in the [mayo/oyam.ca](https://github.com/mayo/oyam.ca) git repository.
This website is hand crafted, generated with [Zola](https://www.getzola.org), and source managed at [GitHub](https://github.com). It is built with [GitHub Actions](https://github.com/mayo/oyam.ca/actions), deployed to [Amazon S3](http://aws.amazon.com/s3), and served to you by [CloudFlare](http://cloudflare.com). You can view the sources and build scripts in the [mayo/oyam.ca](https://github.com/mayo/oyam.ca) git repository.

Inspired by iA Writer, the type face used on this site is [IBM Plex](https://www.ibm.com/plex/) ([git](https://github.com/IBM/plex)).
File renamed without changes.
6 changes: 3 additions & 3 deletions templates/_nav_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<li><a href="{{ get_taxonomy_url(kind="categories", name="travel") }}" class="menuitem" role="menuitem">Travel</a></li>
</ul>
<ul class="nav-group">
<li><a href="{{ get_url(path="@/about/_index.md") }}" class="menuitem" role="menuitem">About</a></li>
<li><a href="{{ get_url(path="@/about/index.md") }}" class="menuitem" role="menuitem">About</a></li>
</ul>
<ul class="nav-group">
<li><a href="{{ get_url(path="@/colophon/_index.md") }}" class="menuitem" role="menuitem">Colophon</a></li>
<li><a href="{{ get_url(path="@/colophon/index.md") }}" class="menuitem" role="menuitem">Colophon</a></li>
</ul>
<ul class="nav-group">
<li><a href="{{ get_url(path="@/now/_index.md") }}" class="menuitem" role="menuitem">Now</a></li>
<li><a href="{{ get_url(path="@/now/index.md") }}" class="menuitem" role="menuitem">Now</a></li>
</ul>
2 changes: 1 addition & 1 deletion templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p>
<ul class="contact-list h-card p-adr h-adr">
<li><div class="me"><img class="me u-photo" src="/media/images/mex2.jpg"/></div></li>
<li class="main"><a href="{{ config.extra.base_url | safe }}{{ get_url(path='@/about/_index.md') }}" class="name p-name u-url">Mayo Jordanov</a><br/><span class="tag p-note">Creative Solutions</a></li>
<li class="main"><a href="{{ config.extra.base_url | safe }}{{ get_url(path='@/about/index.md') }}" class="name p-name u-url">Mayo Jordanov</a><br/><span class="tag p-note">Creative Solutions</a></li>
</ul>

<dl class="key-value-table">
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
{% if node.extra.page_id | default(value="") != 'about' %}
{% set h_card = "h-card p-name u-url" %}
{% endif %}
<span class="copyright footer-item">Copyright &copy;{{ now() | date(format='%Y') }} <a class="{{h_card}}" href="{{ config.extra.base_url | safe }}{{ get_url(path='@/about/_index.md') }}">{{ config.extra.author.name }}</a></span>
<span class="copyright footer-item">Copyright &copy;{{ now() | date(format='%Y') }} <a class="{{h_card}}" href="{{ config.extra.base_url | safe }}{{ get_url(path='@/about/index.md') }}">{{ config.extra.author.name }}</a></span>
{% endblock %}

{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion templates/blog/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h1 class="p-name">{{ article.title | safe }}</h1>
{% endif %}
</dl>

<p class="feedback">Feedback is always welcome. Feel free to <a href="/about">get in touch</a>, or edit <a href="{{ config.extra.links.github }}{{ config.extra.github.repo }}{{ config.extra.github.edit }}/{{ config.extra.source_dir }}/{{ article.relative_path | safe }}">{{ article.relative_path }}</a> on GitHub and submit a push request.</p>
<p class="feedback">Feedback is always welcome. Feel free to <a href="{{ get_url(path='@/about/index.md') }}">get in touch</a>, or edit <a href="{{ config.extra.links.github }}{{ config.extra.github.repo }}{{ config.extra.github.edit }}/{{ config.extra.source_dir }}/{{ article.relative_path | safe }}">{{ article.relative_path }}</a> on GitHub and submit a push request.</p>
</footer>
</article>

Expand Down

0 comments on commit 05bf3df

Please sign in to comment.