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

Classless Theme 1 #4

Open
wants to merge 1 commit 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
62 changes: 62 additions & 0 deletions _layouts/classless.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
---

<!doctype html>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes" />
<meta name="description" content="Pure-CSS themes for standard HTML formats.">
<title>{{ page.title }} | classless themes</title>
<script>;(function (d, s, c) {
var x, h, n = Date.now()
tc = function (p) {
m = s.getItem('_tcx') > n ? s.getItem('_tch') : 'tarola-tagarela'
x = new XMLHttpRequest()
x.addEventListener('load', function () {
if (x.status == 200) {
s.setItem('_tch', x.responseText)
s.setItem('_tcx', n + 14400000)
}
})
x.open('GET', 'https://visitantes.alhur.es/'+m+'.xml?r='+d.referrer+'&c='+c+(p?'&p='+p:''))
x.send()
}
tc()
})(document, localStorage, 'yklzb7m1');</script>
<body>
<header role="banner">
<h1>
<a title="classless themes" href="/">classless</a>
</h1>
<aside></aside>
</header>
<nav>
<ul>
<li><a href="">Introduction</a></li>
<li><a href=for-personal-websites.html>For personal websites</a></li>
<li><a href=for-cms-makers.html>For CMS makers</a></li>
<li><a href=for-theme-writers.html>For theme writers</a></li>
<li><a href="https://github.com/websitesfortrello/classless/tree/gh-pages/themes">The themes</a></li>
{% for page in site.pages %}
{% if page.title and page.url | split('.') | last === 'html' %}
<li>
<a href="{{ page.url }}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</nav>
<main>
{{ content }}
</main>
<aside>
<p><em>&quot;Love is the only way to grasp another human being in the innermost core of his personality.&quot;</em> - V. Frankl</p>
<form action="https://formspree.io/fiatjaf@gmail.com" method=POST>
<input type="text" name="_replyto" placeholder="Your email.">
<textarea name="message" placeholder="Your message." rows="4"></textarea>
</form>
</aside>
<footer role="contentinfo">
<p><a href=https://alhur.es/>alhur.es software</a>, 2015</p>
</footer>
</body>
56 changes: 7 additions & 49 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,52 +1,10 @@
---
layout: classless
---

<!doctype html>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>classless themes</title>
<link href="https://cdn.rawgit.com/websitesfortrello/classless/777cd292a29fbef670ab0db3b0edcb443d4cd3de/themes/barbieri/theme.css" rel="stylesheet">
<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '582891e5c88d9005e9005132');
t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');
t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
<body>
<header>
<h1>classless</h1>
<p>CSS Zen Garden for standard blog-like HTML</p>
</header>
<nav>
<ul>
<li><a href="">Introduction</a></li>
<li><a href=for-personal-websites.html>For personal websites</a></li>
<li><a href=for-cms-makers.html>For CMS makers</a></li>
<li><a href=for-theme-writers.html>For theme writers</a></li>
<li><a href="https://github.com/websitesfortrello/classless/tree/gh-pages/themes">The themes</a></li>
</ul>
</nav>
<main>
<article>
<header>
<h1>{{ page.title }}</h1>
</header>
<div>{{ content }}</div>
</article>
</main>
<aside>
<form action="https://formspree.io/fiatjaf@gmail.com" method=POST>
<input type="text" name="_replyto" placeholder="Your email.">
<textarea name="message" placeholder="Your message." rows="4"></textarea>
</form>
</aside>
<footer>Using Classless Theme <a href="https://github.com/websitesfortrello/classless/tree/gh-pages/themes/barbieri">Barbieri</a></footer>
<article>
<header>
<h1>{{ page.title }}</h1>
</header>
<div>{{ content }}</div>
</article>
Loading