Skip to content
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

notmyidea-cms: Corrected header hierarchy and URLs. #729

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion notmyidea-cms/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h2>Social</h2>

<footer id="footer" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://alexis.notmyidea.org/pelican/">pelican</a>, which takes great advantages of <a href="http://python.org">python</a>.
Proudly powered by <a href="https://getpelican.com/">pelican</a>, which takes great advantages of <a href="https://www.python.org">python</a>.
</address><!-- /#about -->

<p>The theme is «notmyidea-cms», a modified version of «notmyidea», the default theme.</p>
Expand Down
8 changes: 4 additions & 4 deletions notmyidea-cms/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
{% if loop.index == 1 %}
<section id="content" class="body">
<aside id="featured"><article>
<h1 class="entry-title"><a href="{{ SITEURL }}/{{ article.url
}}">{{ article.title }}</a></h1>
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url
}}">{{ article.title }}</a></h2>
{% include 'article_infos.html' %}<!-- /.post-info -->
{{ article.content }}
</article></aside><!-- /#featured -->
{% if loop.length > 1 %}
<h1>Other articles</h1>
<h2>Other articles</h2>
<hr />
<ol id="posts-list" class="hfeed">
{% endif %}
{% else %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
</header>

<div class="entry-content">
Expand Down