mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
use custom time element from github
This commit is contained in:
parent
0451a0c27d
commit
19f1ab745b
@ -106,6 +106,9 @@ module.exports = function(grunt){
|
|||||||
'<%= config.site %>/<%= config.assets.js %>/picturefill.min.js': [
|
'<%= config.site %>/<%= config.assets.js %>/picturefill.min.js': [
|
||||||
'bower_components/picturefill/dist/picturefill.js'
|
'bower_components/picturefill/dist/picturefill.js'
|
||||||
],
|
],
|
||||||
|
'<%= config.site %>/<%= config.assets.js %>/CustomElements.min.js': [
|
||||||
|
'bower_components/webcomponentsjs/CustomElements.js'
|
||||||
|
],
|
||||||
'<%= config.site %>/<%= config.assets.js %>/kremalicious3.min.js': [
|
'<%= config.site %>/<%= config.assets.js %>/kremalicious3.min.js': [
|
||||||
'bower_components/jquery/dist/jquery.js',
|
'bower_components/jquery/dist/jquery.js',
|
||||||
'bower_components/jquery-infinite-scroll/jquery.infinitescroll.js',
|
'bower_components/jquery-infinite-scroll/jquery.infinitescroll.js',
|
||||||
@ -113,6 +116,7 @@ module.exports = function(grunt){
|
|||||||
'bower_components/imagesloaded/imagesloaded.js',
|
'bower_components/imagesloaded/imagesloaded.js',
|
||||||
'bower_components/simple-jekyll-search/dest/jekyll-search.js',
|
'bower_components/simple-jekyll-search/dest/jekyll-search.js',
|
||||||
'bower_components/jquery.adaptive-background/index.js',
|
'bower_components/jquery.adaptive-background/index.js',
|
||||||
|
'bower_components/time-elements/time-elements.js',
|
||||||
'<%= config.src %>/<%= config.assets.js %>/app.js'
|
'<%= config.src %>/<%= config.assets.js %>/app.js'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<time class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time>
|
<time is="time-ago" class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time>
|
||||||
|
|
||||||
{% if page.updated %}
|
{% if page.updated %}
|
||||||
<time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
|
<time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</footer>
|
</footer>
|
@ -32,6 +32,7 @@
|
|||||||
</section>
|
</section>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script src="/assets/js/CustomElements.min.js"></script>
|
||||||
<script async src="/assets/js/kremalicious3.min.js"></script>
|
<script async src="/assets/js/kremalicious3.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
___ ___
|
___ ___
|
||||||
/__/\ /__/|
|
/__/\ /__/|
|
||||||
| |::\ | |:|
|
| |::\ | |:|
|
||||||
| |:|:\ | |:|
|
| |:|:\ | |:|
|
||||||
__|__|:|\:\ __| |:|
|
__|__|:|\:\ __| |:|
|
||||||
/__/::::| \:\ /__/\_|:|____
|
/__/::::| \:\ /__/\_|:|____
|
||||||
\ \:\~~\__\/ \ \:\/:::::/
|
\ \:\~~\__\/ \ \:\/:::::/
|
||||||
\ \:\ \ \::/~~~~
|
\ \:\ \ \::/~~~~
|
||||||
\ \:\ \ \:\
|
\ \:\ \ \:\
|
||||||
\ \:\ \ \:\
|
\ \:\ \ \:\
|
||||||
\__\/ \__\/
|
\__\/ \__\/
|
||||||
|
|
||||||
YOU EARNED THE GEEK ACHIEVEMENT
|
YOU EARNED THE GEEK ACHIEVEMENT
|
||||||
FOR LOOKING AT MY SOURCE
|
FOR LOOKING AT MY SOURCE
|
||||||
|
|
||||||
But because of all the minimizing and caching
|
But because of all the minimizing and caching
|
||||||
going on you better check out the code on
|
going on you better check out the code on
|
||||||
github
|
github
|
||||||
_____________________________________________
|
_____________________________________________
|
||||||
|
|
||||||
https://github.com/kremalicious/kremalicious3
|
https://github.com/kremalicious/kremalicious3
|
||||||
|
|
||||||
_____________________________________________
|
_____________________________________________
|
||||||
-->
|
-->
|
||||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
|
||||||
@ -37,7 +37,7 @@
|
|||||||
{{ site.name }} ¦ {{ site.description }}
|
{{ site.name }} ¦ {{ site.description }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
<meta name="description" content="{{ page.description }}">
|
<meta name="description" content="{{ page.description }}">
|
||||||
{% elsif page.front_page %}
|
{% elsif page.front_page %}
|
||||||
@ -46,33 +46,33 @@
|
|||||||
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
|
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta name="author" content="{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}">
|
<meta name="author" content="{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}">
|
||||||
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
<meta name="MobileOptimized" content="320">
|
<meta name="MobileOptimized" content="320">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="cleartype" content="on">
|
<meta http-equiv="cleartype" content="on">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
|
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
|
||||||
{% if page.style %}
|
{% if page.style %}
|
||||||
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
|
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- TypeKit -->
|
<!-- TypeKit -->
|
||||||
<script src="//use.typekit.com/msu4qap.js"></script>
|
<script src="//use.typekit.com/msu4qap.js"></script>
|
||||||
<script>try{Typekit.load();}catch(e){}</script>
|
<script>try{Typekit.load();}catch(e){}</script>
|
||||||
|
|
||||||
<!-- Picturefill -->
|
<!-- Picturefill -->
|
||||||
<script src="/assets/js/picturefill.min.js" defer></script>
|
<script src="/assets/js/picturefill.min.js" defer></script>
|
||||||
|
|
||||||
<!-- Canonical URL -->
|
<!-- Canonical URL -->
|
||||||
<link rel="canonical" href="{{ site.url}}{{ page.url | replace:'index.html','' }}">
|
<link rel="canonical" href="{{ site.url}}{{ page.url | replace:'index.html','' }}">
|
||||||
|
|
||||||
<link rel="alternate" href="{{ site.url }}/feed/" type="application/rss+xml" title="Posts Feed"/>
|
<link rel="alternate" href="{{ site.url }}/feed/" type="application/rss+xml" title="Posts Feed"/>
|
||||||
|
|
||||||
<!-- Apple -->
|
<!-- Apple -->
|
||||||
<meta name="apple-mobile-web-app-title" content="kremalicious">
|
<meta name="apple-mobile-web-app-title" content="kremalicious">
|
||||||
|
|
||||||
<!-- Touch Icons -->
|
<!-- Touch Icons -->
|
||||||
<!-- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152-precomposed.png"> -->
|
<!-- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152-precomposed.png"> -->
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144-precomposed.png">
|
||||||
@ -84,24 +84,24 @@
|
|||||||
<!-- <link rel="shortcut icon" sizes="196x196" href="/touch-icon-196x196.png"> -->
|
<!-- <link rel="shortcut icon" sizes="196x196" href="/touch-icon-196x196.png"> -->
|
||||||
<link rel="shortcut icon" href="/apple-touch-icon-precomposed.png">
|
<link rel="shortcut icon" href="/apple-touch-icon-precomposed.png">
|
||||||
<link rel="icon" href="/favicon.ico" sizes="16x16">
|
<link rel="icon" href="/favicon.ico" sizes="16x16">
|
||||||
|
|
||||||
<!-- Windows 8 Metro Tile Image -->
|
<!-- Windows 8 Metro Tile Image -->
|
||||||
<meta name="msapplication-TileImage" content="{{ site.url }}/metro-tile.png"/>
|
<meta name="msapplication-TileImage" content="{{ site.url }}/metro-tile.png"/>
|
||||||
<meta name="msapplication-TileColor" content="#015565"/>
|
<meta name="msapplication-TileColor" content="#015565"/>
|
||||||
|
|
||||||
{% if paginator %}
|
{% if paginator %}
|
||||||
<script>
|
<script>
|
||||||
var total = {{ paginator.total_pages }};
|
var total = {{ paginator.total_pages }};
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- OpenGraph -->
|
<!-- OpenGraph -->
|
||||||
{% include opengraph.html %}
|
{% include opengraph.html %}
|
||||||
|
|
||||||
<!-- Twitter Cards -->
|
<!-- Twitter Cards -->
|
||||||
{% include twittercards.html %}
|
{% include twittercards.html %}
|
||||||
|
|
||||||
<!-- Google Authorship -->
|
<!-- Google Authorship -->
|
||||||
<link href="https://plus.google.com/+MatthiasKretschmann" rel="author"/>
|
<link href="https://plus.google.com/+MatthiasKretschmann" rel="author"/>
|
||||||
|
|
||||||
</head>
|
</head>
|
@ -16,7 +16,9 @@
|
|||||||
"imagesloaded": ">=3.1.0",
|
"imagesloaded": ">=3.1.0",
|
||||||
"jquery-infinite-scroll": ">=2.0.2",
|
"jquery-infinite-scroll": ">=2.0.2",
|
||||||
"simple-jekyll-search": ">=1.0.2",
|
"simple-jekyll-search": ">=1.0.2",
|
||||||
"jquery.adaptive-background": "https://raw.github.com/briangonzalez/jquery.adaptive-backgrounds.js/master/src/jquery.adaptive-backgrounds.js"
|
"jquery.adaptive-background": "https://raw.github.com/briangonzalez/jquery.adaptive-backgrounds.js/master/src/jquery.adaptive-backgrounds.js",
|
||||||
|
"time-elements": ">=0.4.0",
|
||||||
|
"webcomponentsjs": ">=0.6.1"
|
||||||
},
|
},
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user