New humans.txt and updated Compress Layout
This commit is contained in:
parent
3a3f8e693e
commit
afe5307a29
5 changed files with 35 additions and 12 deletions
|
@ -53,4 +53,6 @@
|
|||
|
||||
<!-- Search Engine Optimization -->
|
||||
{% if page.noindex == true %}<meta name="robots" content="noindex">{% endif %}
|
||||
|
||||
<link type="text/plain" rel="author" href="{{ site.url }}/humans.txt" />
|
||||
</head>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
#
|
||||
# Jekyll layout that compresses HTML
|
||||
# v1.1.1
|
||||
# v1.1.2
|
||||
# http://jch.penibelst.de/
|
||||
# © 2015 Anatol Broder
|
||||
# © 2014–2015 Anatol Broder
|
||||
# MIT License
|
||||
#
|
||||
---
|
||||
|
||||
{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if site.compress_html.comments.size == 2 %}{% assign _comment_befores = _content | split: site.compress_html.comments.first %}{% for _comment_before in _comment_befores %}{% assign _comment_content = _comment_before | split: site.compress_html.comments.last | first %}{% if _comment_content %}{% capture _comment %}{{ site.compress_html.comments.first }}{{ _comment_content }}{{ site.compress_html.comments.last }}{% endcapture %}{% assign _content = _content | remove: _comment %}{% endif %}{% endfor %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% case _pres.size %}{% when 2 %}{% capture _content %}{{ _content }}<pre{{ _pres.first }}</pre>{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% when 1 %}{% capture _content %}{{ _content }}{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% endcase %}{% endfor %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{{ _content }}{% endif %}
|
||||
{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% case _pres.size %}{% when 2 %}{% capture _content %}{{ _content }}<pre{{ _pres.first }}</pre>{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% when 1 %}{% capture _content %}{{ _content }}{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% endcase %}{% endfor %}{% if site.compress_html.comments.size == 2 %}{% assign _comment_befores = _content | split: site.compress_html.comments.first %}{% for _comment_before in _comment_befores %}{% assign _comment_content = _comment_before | split: site.compress_html.comments.last | first %}{% if _comment_content %}{% capture _comment %}{{ site.compress_html.comments.first }}{{ _comment_content }}{{ site.compress_html.comments.last }}{% endcapture %}{% assign _content = _content | remove: _comment %}{% endif %}{% endfor %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{{ _content }}{% endif %}
|
||||
|
|
|
@ -15,9 +15,9 @@ format: video
|
|||
{% if page.subheadline %}<p class="subheadline t30">{{ page.subheadline }}</p>{% endif %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
</header>
|
||||
{% if page.description %}
|
||||
{% if page.teaser %}
|
||||
<p class="teaser">
|
||||
{{ page.description }}
|
||||
{{ page.teaser }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
|
33
humans.txt
33
humans.txt
|
@ -1,8 +1,27 @@
|
|||
/* Foundation was made by ZURB, an interaction design and design strategy firm in Campbell, CA */
|
||||
/* zurb.com */
|
||||
/* humanstxt.org */
|
||||
|
||||
---
|
||||
---
|
||||
/* SITE */
|
||||
Standards: HTML5, CSS3
|
||||
Components: jQuery, Orbit, Reveal
|
||||
Software: Coda, Textmate, Git
|
||||
# humanstxt.org/
|
||||
# The humans responsible & technology colophon
|
||||
|
||||
# TEAM
|
||||
|
||||
|
||||
|
||||
# THANKS
|
||||
|
||||
Name: Moritz »mo.« Sauer
|
||||
Role: Webdesigner of Theme
|
||||
Site: http://mo.phlow.de/
|
||||
Theme: http://phlow.github.io/feeling-responsive/
|
||||
Twitter: http://twitter.com/phlow
|
||||
|
||||
# TECHNOLOGY COLOPHON
|
||||
|
||||
Last Updated: {{ site.time | date:"%Y/%m/%d" }}
|
||||
Standards: HTML5, CSS3
|
||||
Software: Sublime Text, Chrome, Jekyll, Git, Imageoptim, JPEGMini, Gulp.js, Sass
|
||||
Components: Modernizr, jQuery, Backstretch.js, Reveal, Foundation Framework
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ permalink: "/roadmap/"
|
|||
## Ideas and possible new features
|
||||
{: .t30 }
|
||||
|
||||
* [Add schema.org Markup for Videos](https://support.google.com/webmasters/answer/2413309?hl=en)
|
||||
* Layout/Template for category-archives
|
||||
* Clean bare-bones version of *Feeling Responsive*
|
||||
* Landingpage
|
||||
|
@ -23,6 +24,7 @@ permalink: "/roadmap/"
|
|||
|
||||
## Done
|
||||
|
||||
* [<s>Refined humans.txt</s>](http://humanstxt.org/)
|
||||
* [<s>Produce an introduction video to showcase *Feeling Responsive*</s>](https://www.youtube.com/embed/3b5zCFSmVvU)
|
||||
* [<s>Additional header with text</s>]({{ site.url }}/headers/)
|
||||
* <s>Added Google Analtics support</s>
|
||||
|
|
Reference in a new issue