-
-
Notifications
You must be signed in to change notification settings - Fork 1
improves nav section, adds feeds, adds favicons #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d3ce2ac
improves nav section, adds feeds, adds favicons
d86bddc
Update publishconf.py
Dreamsorcerer e339c0b
remove all app icons, leaving only the favicon
bed37b7
Merge branch 'atom-feeds' of https://github.com/leejordan/aio-libs.gi…
d7cfb7c
remove redundant manifest file
38dd1b2
correct a missing css class removed in error
aa9bf9f
use svg for feed icon, and apply a css class to style it
2481026
Update base.html
Dreamsorcerer 5352714
Update index.html
Dreamsorcerer af42af5
Update tag.html
Dreamsorcerer 9b8a916
Update pelicanconf.py
Dreamsorcerer 71d8f35
Update publishconf.py
Dreamsorcerer 5d9a4b9
Update pelicanconf.py
Dreamsorcerer 78cae38
Update pelicanconf.py
Dreamsorcerer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,50 @@ | ||
| {% extends "!simple/base.html" %} | ||
|
|
||
| {% block head %} | ||
| {{- super() }} | ||
| <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygment.css" /> | ||
| <script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/main.js" defer></script> | ||
| {{- super() }} | ||
| <link rel="icon" type="image/svg+xml" href="/images/favicon/favicon.svg?v=1" /> | ||
|
Dreamsorcerer marked this conversation as resolved.
Outdated
|
||
| <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygment.css" /> | ||
| <script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/main.js" defer></script> | ||
| {%- endblock head %} | ||
|
|
||
| {% block body %} | ||
| <div class="aio-pattern"></div> | ||
| <main class="aio-wrapper"> | ||
| <section class="aio-nav"> | ||
| {% block header %}{{ super() }}{% endblock header %} | ||
| {% block header %} | ||
| <h1 class="aio-nav__title"><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>{% if SITESUBTITLE %}<p class="aio-nav__subtitle">{{ SITESUBTITLE }}</p>{% endif %} | ||
| {% endblock header %} | ||
| {% block nav %} | ||
| <ul class="aio-nav__list"> | ||
| {% for p in pages if p.prefix != "projects/" %} | ||
| <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li> | ||
| {% endfor %} | ||
| </ul> | ||
| {% for p in pages if p.prefix != "projects/" %} | ||
| <a class="aio-nav__list-heading" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a> | ||
| {% endfor %} | ||
| <a href="/projects" class="aio-nav__list-heading">Projects</a> | ||
| <ul class="aio-nav__list" aria-label="Projects"> | ||
| <ul class="aio-nav__list aio-nav__list--hide" aria-label="Projects"> | ||
| {% for p in pages if p.prefix == "projects/" %} | ||
| <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li> | ||
| {% endfor %} | ||
| </ul> | ||
| <a href="/news" class="aio-nav__list-heading">News</a> | ||
| <ul class="aio-nav__list" aria-label="News"> | ||
| <ul class="aio-nav__list aio-nav__list--hide" aria-label="News"> | ||
| {% for cat, null in tags %} | ||
| <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat }}</a></li> | ||
| {% endfor %} | ||
| </ul> | ||
|
|
||
| <div id="sponsor-sidebar" class="aio-sponsor-sidebar"></div> | ||
| <div id="sponsor-sidebar" class="aio-nav__sponsor"></div> | ||
| {% endblock nav %} | ||
| </section> | ||
| <section class="aio-content"> | ||
| {% block content %}{% endblock content %} | ||
| </section> | ||
| </main> | ||
|
|
||
| {% block footer %} | ||
| <footer></footer> | ||
|
|
||
| <template id="template-sponsor-sidebar" data-sponsors='{{ SPONSORS["gold"]|tojson }}'> | ||
| <p>Featured Sponsor:</p> | ||
| <a class="aio-sponsor"><img /></a> | ||
| </template> | ||
| {% endblock footer %} | ||
| <footer> | ||
| {% block footer %} | ||
| <template id="template-sponsor-sidebar" data-sponsors='{{ SPONSORS["gold"]|tojson }}'> | ||
| <p>Sponsored by:</p> | ||
| <a class="aio-sponsor"><img /></a> | ||
| </template> | ||
| {% endblock footer %} | ||
| </footer> | ||
| {% endblock body %} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| {% extends "!simple/index.html" %} | ||
|
|
||
| {% block content_title %} | ||
| {{ super() }} | ||
| {% if FEED_ATOM %} | ||
| <a class="aio-post-links__item" href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml"><img class="aio-icon-inline" src="/images/feed-icon-light-on-orange.svg"> Atom feed</a> | ||
| {% endif %} | ||
| {% endblock %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| {% extends "!simple/tag.html" %} | ||
|
|
||
| {% block content_title %} | ||
| {{ super() }} | ||
| {% if TAG_FEED_ATOM %} | ||
| <a class="aio-post-links__item" href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM.format(slug=tag.slug) }}" type="application/atom+xml"><img class="aio-icon-inline" src="/images/feed-icon-light-on-orange.svg"> Atom feed</a> | ||
| {% endif %} | ||
| {% endblock %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.