Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit aa690ee

Browse files
refactored away _layouts/wp-post
1 parent 81a5bf7 commit aa690ee

File tree

80 files changed

+118
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+118
-138
lines changed

_author/index.md

+1-1

_includes/the-end.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="the-end">
2+
<p>-- The End --<p>
3+
</div>

_layouts/author.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: page
33
title-prefix: 'Author: '
44
---
55
{% unless page.content == '' %}

_layouts/category.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: page
33
---
44
<h1>Category: {{ page.category }}</h1>
55

_layouts/page.html

+33-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
11
---
2-
layout: default
2+
layout: null
33
---
4-
<article class="post">
5-
6-
<header class="post-header">
7-
<h1 class="post-title">{{ page.title | escape }}</h1>
8-
</header>
9-
10-
<div class="post-content">
11-
{{ content }}
12-
</div>
13-
14-
</article>
4+
<!doctype html>
5+
<html lang="en-GB">
6+
{% include head.html %}
7+
<body class="single single-post postid-105 single-format-standard">
8+
<div class="app" ontouchstart="">
9+
<div class='container'>
10+
{% include header.html %}
11+
<div class="hero">
12+
{% unless page.title == 'Welcome' %}
13+
<h1>{{layout.title-prefix}}{{page.title}}</h1>
14+
<p>{{page.excerpt}}</p>
15+
{% else %}
16+
<img src="/assets/imgs/blue-labs-logo.png" alt="The FT Labs Logo" />
17+
{% endunless %}
18+
</div>
19+
<main>
20+
<script> var page = 'article-view';</script>
21+
<article class="article_content body-text">
22+
{% if page.title == 'Welcome' %}
23+
<h1>{{layout.title-prefix}}{{page.title}}</h1>
24+
{% endif %}
25+
{{ content }}
26+
</article>
27+
</main>
28+
</div>
29+
{% include footer.html %}
30+
</div>
31+
<script>window.onload = function() { prettyPrint(); }</script><script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js?ver=4.6.4'></script>
32+
<script type='text/javascript' src='/wp-includes/js/wp-embed.ver.4.6.4.min.js'></script>
33+
<script src="//origami-build.ft.com/v2/bundles/js?modules=o-footer%405.4.0"></script>
34+
</body>
35+
</html>

_layouts/post.html

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
---
2-
layout: default
2+
layout: page
33
---
4-
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5-
6-
<header class="post-header">
7-
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8-
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9-
</header>
10-
11-
<div class="post-content" itemprop="articleBody">
12-
{{ content }}
13-
</div>
14-
15-
{% if site.disqus.shortname %}
16-
{% include disqus_comments.html %}
17-
{% endif %}
18-
</article>
4+
{{ content }}
5+
{% include the-end.html %}

_layouts/wp-post.html

-35
This file was deleted.

_posts/2017-04-07-moving-to-jekyll.md

+1-1

_posts/ex-wordpress/2007/05/2007-05-01-alphaville-wins-best-business-blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Alphaville wins best business blog'
44
date: 2007-05-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2008/05/2008-05-01-our-first-webby.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Our first Webby!'
44
date: 2008-05-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2009/05/2009-05-01-auto-growing-textareas.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Auto growing textareas'
44
date: 2009-05-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2009/06/2009-06-01-ft-mobile-best-mobile-site-at-aop-digital-publishing-awards.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'FT Mobile: Best mobile site at AOP Digital Publishing Awards'
44
date: 2009-06-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2009/09/2009-09-01-json2-js-vs-prototype.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'JSON2.js vs Prototype'
44
date: 2009-09-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2009/10/2009-10-01-validating-html-input-in-php.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Validating HTML input using libxml'
44
date: 2009-10-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2009/11/2009-11-01-disappearing-text-cursor-in-firefox.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Disappearing text cursor in Firefox'
44
date: 2009-11-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2010/03/2010-03-01-smooth-css3-ticker-jquery-plugin.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Smooth CSS3 ticker jQuery plugin'
44
date: 2010-03-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2010/05/2010-05-01-thoughts-on-css-transitions-in-firefox.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Thoughts on CSS transitions in Firefox'
44
date: 2010-05-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2010/11/2010-11-01-faceted-search-choosing-good-facet-suggestions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Faceted search: choosing good facet suggestions'
44
date: 2010-11-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2011/02/2011-02-01-galaxy-tab-ft.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Get the FT on the Samsung Galaxy Tab'
44
date: 2011-02-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2011/02/2011-02-01-tips-for-better-fragment-navigation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Tips for better fragment navigation'
44
date: 2011-02-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2011/06/2011-06-01-ft-launches-first-major-html5-mobile-news-app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'FT launches first major HTML5 mobile news app'
44
date: 2011-06-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2011/08/2011-08-01-fastclick-native-like-tapping-for-touch-apps.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'FastClick: native-like tapping for touch apps'
44
date: 2011-08-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2012/01/2012-01-01-strike-me-pink-assanka-and-the-ft.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Strike me pink! Assanka and the FT'
44
date: 2012-01-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2012/06/2012-06-01-text-re-encoding-for-optimising-storage-capacity-in-the-browser.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Text re-encoding for optimising storage capacity in the browser'
44
date: 2012-06-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2012/06/2012-06-01-what-exactly-is-an-app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'What exactly is an app?'
44
date: 2012-06-01
55
categories: [ex-wordpress]

_posts/ex-wordpress/2012/07/2012-07-01-prefer-online-not-so-much.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'prefer-online? Not so much'
44
date: 2012-07-01
55
categories: [ex-wordpress]

_posts/ex-wordpress/2012/08/2012-08-01-a-proposal-for-preloading-resources-bound-by-media-queries.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'A proposal for preloading resources bound by media queries'
44
date: 2012-08-01
55
categories: [ex-wordpress]

_posts/ex-wordpress/2012/08/2012-08-01-basic-offline-html5-web-app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Tutorial: How to make an offline HTML5 web app, FT style'
44
date: 2012-08-01
55
categories: [ex-wordpress, tutorial]

_posts/ex-wordpress/2012/08/2012-08-01-bbc-responsive-design-day.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'BBC Responsive Design Day'
44
date: 2012-08-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2012/08/2012-08-01-fastclick-redux.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'FastClick redux'
44
date: 2012-08-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2012/08/2012-08-01-fixing-app-cache.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Fixing app cache'
44
date: 2012-08-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2012/08/2012-08-01-navigator-online-here-be-dragons.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'navigator.onLine: here be dragons'
44
date: 2012-08-01
55
categories: [ex-wordpress]

_posts/ex-wordpress/2012/09/2012-09-01-ft-style-web-app-on-firefox-and-ie6-to-ie10.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Tutorial 2: Supporting both IndexedDB and WebSQL on a cross platform web app'
44
date: 2012-09-01
55
categories: [ex-wordpress, tutorial]

_posts/ex-wordpress/2012/09/2012-09-01-kosovo-software-freedom-conference.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Kosovo Software Freedom conference'
44
date: 2012-09-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2012/11/2012-11-01-using-an-iframe-to-stop-app-cache-storing-masters.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: "Tutorial 3: 'Fixing' the application cache with an iframe"
44
date: 2012-11-01
55
categories: [ex-wordpress, tutorial]

_posts/ex-wordpress/2012/12/2012-12-01-batching-decoupled-api-requests.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Batching decoupled API requests'
44
date: 2012-12-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2013/01/2013-01-01-edge.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: "Edge: We're having a conference!"
44
date: 2013-01-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2013/01/2013-01-01-seamless-iframes-not-quite-seamless.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Seamless IFRAMEs: not quite seamless?'
44
date: 2013-01-01
55
categories: [ex-wordpress]

_posts/ex-wordpress/2013/04/2013-04-01-offline-html5-history-api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Tutorial 4: History API in an offline HTML5 web app'
44
date: 2013-04-01
55
categories: [ex-wordpress, tutorial]

_posts/ex-wordpress/2013/05/2013-05-01-a-sobering-day.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'A sobering day'
44
date: 2013-05-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2013/10/2013-10-01-client-side-layout-engines-react-vs-fruitmachine.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Client side layout engines: React vs FruitMachine'
44
date: 2013-10-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2013/10/2013-10-01-thoughts-from-edge-2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Thoughts from Edge 2'
44
date: 2013-10-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2014/03/2014-03-01-edge-3-back-in-london.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Edge 3: back in London'
44
date: 2014-03-01
55
categories: [ex-wordpress, news]

_posts/ex-wordpress/2014/03/2014-03-01-resimplifying-front-end-build-process-with-a-build-service.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: '(Re)simplifying front-end build process with a build service'
44
date: 2014-03-01
55
categories: [ex-wordpress, technote]

_posts/ex-wordpress/2014/04/2014-04-01-icing-on-the-cupcake-of-destiny.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: wp-post
2+
layout: post
33
title: 'Icing on the cupcake of destiny'
44
date: 2014-04-01
55
categories: [ex-wordpress, news]

0 commit comments

Comments
 (0)