diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-03-19 11:11:52 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-08-26 21:58:51 +0200 |
commit | 4c4bf6cc2daa7a906708156152a24341d5efeaa4 (patch) | |
tree | 630d7fcf6af22a13172f022da280a34ce22cb601 /zurb-F5-basic | |
parent | 53347afd9a837980c38a43f694e84d46ee86f476 (diff) | |
download | pelican-themes-4c4bf6cc2daa7a906708156152a24341d5efeaa4.tar.gz |
Convert DOS to UNIX EOLs.
Diffstat (limited to 'zurb-F5-basic')
-rw-r--r-- | zurb-F5-basic/templates/base.html | 256 | ||||
-rw-r--r-- | zurb-F5-basic/templates/categories.html | 14 | ||||
-rw-r--r-- | zurb-F5-basic/templates/pagination.html | 38 | ||||
-rw-r--r-- | zurb-F5-basic/templates/tags.html | 30 |
4 files changed, 169 insertions, 169 deletions
diff --git a/zurb-F5-basic/templates/base.html b/zurb-F5-basic/templates/base.html index 29345ec..6c306eb 100644 --- a/zurb-F5-basic/templates/base.html +++ b/zurb-F5-basic/templates/base.html @@ -1,128 +1,128 @@ -<!DOCTYPE html>
-<head>
- <meta charset="utf-8" />
- <!-- Set the viewport width to device width for mobile -->
- <meta name="viewport" content="width=device-width" />
-
- <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
-
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" />
- <script src="{{ SITEURL }}/theme/js/modernizr.js"></script>
-
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="{{ SITEURL }}tipuesearch_content.js"></script>
- <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch_set.js"></script>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.css"/-->
-
-</head>
-
-<body>
-
-<!-- Nav Bar -->
-<nav>
-<div class="top-bar">
-<div class="row">
- <div class="large-9 large-centered columns">
- <h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
- </div>
-</div>
-</div>
-
-<!-- Show menu items and pages -->
-<div class="row">
-<div class="large-9 columns">
- <ul class="button-group navigation">
- {% for title, link in MENUITEMS %}
- <li><a href="{{ link }}" class="button secondary small">{{ title }}</a></li>
- {% endfor %}
-
- {% if DISPLAY_PAGES_ON_MENU %}
- {% for page in pages %}
- <li><a href="{{ SITEURL }}/{{ page.url }}" class="button secondary small">{{ page.title }}</a></li>
- {% endfor %}
- {% endif %}
- </ul>
-</div>
-</div>
-</nav>
-<!-- End Nav -->
-
-
-<!-- Main Page Content and Sidebar -->
-<div class="row">
-
- <!-- Main Blog Content -->
- <div class="large-9 columns">
- {% block content %}{% endblock %}
- </div>
- <!-- End Main Content -->
-
- <!-- Sidebar -->
- <aside class="large-3 columns">
- <h5 class="sidebar-title">Site</h5>
- <ul class="side-nav">
- <li><a href="{{ SITEURL }}/archives.html">Archives</a>
- <li><a href="{{ SITEURL }}/tags.html">Tags</a>
- {% if FEED_RSS %}
- <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">Atom feed</a></li>
- {% endif %}
- {% if FEED_RSS %}
- <li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
- {% endif %}
- </ul>
-
- {% if categories %}
- <h5 class="sidebar-title">Categories</h5>
- <ul class="side-nav">
- {% for cat, null in categories %}
- <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
-
- {% if LINKS %}
- <h5 class="sidebar-title">Links</h5>
- <ul class="side-nav">
- {% for name, link in LINKS %}
- <li><a href="{{ link }}">{{ name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
-
- <form class="navbar-search" action="{{ SITEURL }}/{{ SEARCH_URL }}" onsubmit="return validateForm(this.elements['q'].value);">
- <input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input">
- </form>
-
- {% if SOCIAL %}
- <h5 class="sidebar-title">Social</h5>
- <ul class="side-nav">
- {% for name, link in SOCIAL %}
- <li><a href="{{ link }}">{{ name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
-
- </aside> <!-- End Sidebar -->
-
-</div> <!-- End Main Content and Sidebar -->
-
-
-<!-- Footer -->
-<footer class="row">
- <div class="large-12 columns">
- <hr />
- <div class="row">
- <div class="large-6 columns">
- <!-- <p>{{ SITENAME }} by {{ AUTHOR }}</p> -->
- {% block relme %}{% endblock %}
- </div>
- </div>
- </div>
-</footer>
-{% include 'piwik.html' %}
-</body>
-</html>
+<!DOCTYPE html> +<head> + <meta charset="utf-8" /> + <!-- Set the viewport width to device width for mobile --> + <meta name="viewport" content="width=device-width" /> + + <title>{% block title %}{{ SITENAME }}{%endblock%}</title> + + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.css" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" /> + <script src="{{ SITEURL }}/theme/js/modernizr.js"></script> + + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> + <script src="{{ SITEURL }}tipuesearch_content.js"></script> + <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch_set.js"></script> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.css"/--> + +</head> + +<body> + +<!-- Nav Bar --> +<nav> +<div class="top-bar"> +<div class="row"> + <div class="large-9 large-centered columns"> + <h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1> + </div> +</div> +</div> + +<!-- Show menu items and pages --> +<div class="row"> +<div class="large-9 columns"> + <ul class="button-group navigation"> + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}" class="button secondary small">{{ title }}</a></li> + {% endfor %} + + {% if DISPLAY_PAGES_ON_MENU %} + {% for page in pages %} + <li><a href="{{ SITEURL }}/{{ page.url }}" class="button secondary small">{{ page.title }}</a></li> + {% endfor %} + {% endif %} + </ul> +</div> +</div> +</nav> +<!-- End Nav --> + + +<!-- Main Page Content and Sidebar --> +<div class="row"> + + <!-- Main Blog Content --> + <div class="large-9 columns"> + {% block content %}{% endblock %} + </div> + <!-- End Main Content --> + + <!-- Sidebar --> + <aside class="large-3 columns"> + <h5 class="sidebar-title">Site</h5> + <ul class="side-nav"> + <li><a href="{{ SITEURL }}/archives.html">Archives</a> + <li><a href="{{ SITEURL }}/tags.html">Tags</a> + {% if FEED_RSS %} + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">Atom feed</a></li> + {% endif %} + {% if FEED_RSS %} + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li> + {% endif %} + </ul> + + {% if categories %} + <h5 class="sidebar-title">Categories</h5> + <ul class="side-nav"> + {% for cat, null in categories %} + <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> + {% endfor %} + </ul> + {% endif %} + + {% if LINKS %} + <h5 class="sidebar-title">Links</h5> + <ul class="side-nav"> + {% for name, link in LINKS %} + <li><a href="{{ link }}">{{ name }}</a></li> + {% endfor %} + </ul> + {% endif %} + + <form class="navbar-search" action="{{ SITEURL }}/{{ SEARCH_URL }}" onsubmit="return validateForm(this.elements['q'].value);"> + <input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input"> + </form> + + {% if SOCIAL %} + <h5 class="sidebar-title">Social</h5> + <ul class="side-nav"> + {% for name, link in SOCIAL %} + <li><a href="{{ link }}">{{ name }}</a></li> + {% endfor %} + </ul> + {% endif %} + + </aside> <!-- End Sidebar --> + +</div> <!-- End Main Content and Sidebar --> + + +<!-- Footer --> +<footer class="row"> + <div class="large-12 columns"> + <hr /> + <div class="row"> + <div class="large-6 columns"> + <!-- <p>{{ SITENAME }} by {{ AUTHOR }}</p> --> + {% block relme %}{% endblock %} + </div> + </div> + </div> +</footer> +{% include 'piwik.html' %} +</body> +</html> diff --git a/zurb-F5-basic/templates/categories.html b/zurb-F5-basic/templates/categories.html index c213fdb..620f819 100644 --- a/zurb-F5-basic/templates/categories.html +++ b/zurb-F5-basic/templates/categories.html @@ -1,8 +1,8 @@ -{% extends "base.html" %}
-{% block content %}
-<ul class="circle">
-{% for category, articles in categories %}
- <li><a href="{{ category.url }}">{{ category }}</a></li>
-{% endfor %}
-</ul>
+{% extends "base.html" %} +{% block content %} +<ul class="circle"> +{% for category, articles in categories %} + <li><a href="{{ category.url }}">{{ category }}</a></li> +{% endfor %} +</ul> {% endblock %}
\ No newline at end of file diff --git a/zurb-F5-basic/templates/pagination.html b/zurb-F5-basic/templates/pagination.html index 4f06408..c00f2f5 100644 --- a/zurb-F5-basic/templates/pagination.html +++ b/zurb-F5-basic/templates/pagination.html @@ -1,19 +1,19 @@ -{% if DEFAULT_PAGINATION %}
-<div class="pagination-centered">
-<h6 class="subheader">Page {{ articles_page.number }} of {{ articles_paginator.num_pages }}</h6>
-
-<p>
- {% if articles_page.has_previous() %}
- {% if articles_page.previous_page_number() == 1 %}
- <a href="{{ SITEURL }}/{{ page_name }}.html">« Prev</a>
- {% else %}
- <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">« Prev</a>
- {% endif %}
- {% endif %}
-
- {% if articles_page.has_next() %}
- <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next »</a>
- {% endif %}
-</p>
-</div>
-{% endif %}
+{% if DEFAULT_PAGINATION %} +<div class="pagination-centered"> +<h6 class="subheader">Page {{ articles_page.number }} of {{ articles_paginator.num_pages }}</h6> + +<p> + {% if articles_page.has_previous() %} + {% if articles_page.previous_page_number() == 1 %} + <a href="{{ SITEURL }}/{{ page_name }}.html">« Prev</a> + {% else %} + <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">« Prev</a> + {% endif %} + {% endif %} + + {% if articles_page.has_next() %} + <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next »</a> + {% endif %} +</p> +</div> +{% endif %} diff --git a/zurb-F5-basic/templates/tags.html b/zurb-F5-basic/templates/tags.html index 7aec93a..e084312 100644 --- a/zurb-F5-basic/templates/tags.html +++ b/zurb-F5-basic/templates/tags.html @@ -1,15 +1,15 @@ -{% extends "base.html" %}
-{% block content %}
-
-<ul class="circle">
- {% for tag, articles in tags %}
- <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
- <ul class="square">
- {% for article in articles %}
- <li><a href="{{ SITEURL }}/{{ article.url }}"><small>{{ article.title }}</small></li>
- {% endfor %}
- </ul>
- {% endfor %}
-</ul>
-
-{% endblock %}
+{% extends "base.html" %} +{% block content %} + +<ul class="circle"> + {% for tag, articles in tags %} + <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li> + <ul class="square"> + {% for article in articles %} + <li><a href="{{ SITEURL }}/{{ article.url }}"><small>{{ article.title }}</small></li> + {% endfor %} + </ul> + {% endfor %} +</ul> + +{% endblock %} |