Commit 507c53e3 authored by Erick Hitter's avatar Erick Hitter

Spaces -> tabs

parent 5ce5574e
......@@ -5,5 +5,5 @@
I publish content across a number of sites; to facilitate discovery, I provide this aggregation.
<noscript>
<p><strong>Please note</strong> that this site requires JavaScript to display recent content here. Please use the provided links to visit the sites instead.</p>
<p><strong>Please note</strong> that this site requires JavaScript to display recent content here. Please use the provided links to visit the sites instead.</p>
</noscript>
<!-- Piwik -->
<script>
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u='https://stats.e15r.co/';
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 28]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u='https://stats.e15r.co/';
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 28]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://stats.e15r.co/piwik.php?idsite=28" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
( function( $ ) {
$( 'div.site-container' ).each( function( i, site ) {
var container = $( this ),
domain = container.data( 'domain' );
$( 'div.site-container' ).each( function( i, site ) {
var container = $( this ),
domain = container.data( 'domain' );
$.get( {
url: '/api/' + domain,
success: function( data, status ) {
$( 'div.latest-post', container ).html( data );
}
} );
} );
$.get( {
url: '/api/' + domain,
success: function( data, status ) {
$( 'div.latest-post', container ).html( data );
}
} );
} );
} ) ( jQuery );
......@@ -2,12 +2,12 @@
{{#if data.post.medium_image}}
<div class="featured-image">
<a href="{{data.post.link}}"><img src="{{{data.post.medium_image}}}" /></a>
<a href="{{data.post.link}}"><img src="{{{data.post.medium_image}}}" /></a>
</div>
{{/if}}
{{{data.post.excerpt.rendered}}}
<p class="more">
<a href="{{data.post.link}}">View at {{data.domain}} &rarr;</a>
<a href="{{data.post.link}}">View at {{data.domain}} &rarr;</a>
</p>
......@@ -3,5 +3,5 @@
{{{data.post.excerpt.rendered}}}
<p class="more">
<a href="{{data.post.link}}">Read at {{data.domain}} &rarr;</a>
<a href="{{data.post.link}}">Read at {{data.domain}} &rarr;</a>
</p>
{{#each data.domains}}
<div class="site-container" id="site-{{@key}}" data-domain="{{@key}}">
<h2><a href="{{this}}">{{@key}}</a></h2>
<div class="latest-post">
<span class="js">Loading&hellip;</span>
<noscript>
<p><a href="{{this}}latest/">Go to the latest post &rarr;</a></p>
</noscript>
</div>
</div>
<div class="site-container" id="site-{{@key}}" data-domain="{{@key}}">
<h2><a href="{{this}}">{{@key}}</a></h2>
<div class="latest-post">
<span class="js">Loading&hellip;</span>
<noscript>
<p><a href="{{this}}latest/">Go to the latest post &rarr;</a></p>
</noscript>
</div>
</div>
{{/each}}
<div class="clear"></div>
<!DOCTYPE html>
<html class="no-js">
<head>
<title>erick t. hitter's latest posts</title>
<head>
<title>erick t. hitter's latest posts</title>
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<style>
{{> css}}
</style>
</head>
<body>
<header>{{{body}}}</header>
<style>
{{> css}}
</style>
</head>
<body>
<header>{{{body}}}</header>
<div id="sites">
{{> sites}}
</div>
<div id="sites">
{{> sites}}
</div>
<footer>&copy; <a href="https://ethitter.com/">erick t. hitter</a> | <a href="https://ethitter.com/contact/">Contact</a></footer>
<footer>&copy; <a href="https://ethitter.com/">erick t. hitter</a> | <a href="https://ethitter.com/contact/">Contact</a></footer>
<script src="https://s2.e15r.co/wp-includes/js/jquery/jquery.js"></script>
<script>
{{> js-footer}}
</script>
<script src="https://s2.e15r.co/wp-includes/js/jquery/jquery.js"></script>
<script>
{{> js-footer}}
</script>
{{> analytics}}
</body>
{{> analytics}}
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment