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

Spaces -> tabs

parent 5ce5574e
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
I publish content across a number of sites; to facilitate discovery, I provide this aggregation. I publish content across a number of sites; to facilitate discovery, I provide this aggregation.
<noscript> <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> </noscript>
<!-- Piwik --> <!-- Piwik -->
<script> <script>
var _paq = _paq || []; var _paq = _paq || [];
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(function() { (function() {
var u='https://stats.e15r.co/'; var u='https://stats.e15r.co/';
_paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 28]); _paq.push(['setSiteId', 28]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; 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); g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})(); })();
</script> </script>
<noscript><p><img src="https://stats.e15r.co/piwik.php?idsite=28" style="border:0;" alt="" /></p></noscript> <noscript><p><img src="https://stats.e15r.co/piwik.php?idsite=28" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code --> <!-- End Piwik Code -->
( function( $ ) { ( function( $ ) {
$( 'div.site-container' ).each( function( i, site ) { $( 'div.site-container' ).each( function( i, site ) {
var container = $( this ), var container = $( this ),
domain = container.data( 'domain' ); domain = container.data( 'domain' );
$.get( { $.get( {
url: '/api/' + domain, url: '/api/' + domain,
success: function( data, status ) { success: function( data, status ) {
$( 'div.latest-post', container ).html( data ); $( 'div.latest-post', container ).html( data );
} }
} ); } );
} ); } );
} ) ( jQuery ); } ) ( jQuery );
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
{{#if data.post.medium_image}} {{#if data.post.medium_image}}
<div class="featured-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> </div>
{{/if}} {{/if}}
{{{data.post.excerpt.rendered}}} {{{data.post.excerpt.rendered}}}
<p class="more"> <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> </p>
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
{{{data.post.excerpt.rendered}}} {{{data.post.excerpt.rendered}}}
<p class="more"> <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> </p>
{{#each data.domains}} {{#each data.domains}}
<div class="site-container" id="site-{{@key}}" data-domain="{{@key}}"> <div class="site-container" id="site-{{@key}}" data-domain="{{@key}}">
<h2><a href="{{this}}">{{@key}}</a></h2> <h2><a href="{{this}}">{{@key}}</a></h2>
<div class="latest-post"> <div class="latest-post">
<span class="js">Loading&hellip;</span> <span class="js">Loading&hellip;</span>
<noscript> <noscript>
<p><a href="{{this}}latest/">Go to the latest post &rarr;</a></p> <p><a href="{{this}}latest/">Go to the latest post &rarr;</a></p>
</noscript> </noscript>
</div> </div>
</div> </div>
{{/each}} {{/each}}
<div class="clear"></div> <div class="clear"></div>
<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js"> <html class="no-js">
<head> <head>
<title>erick t. hitter's latest posts</title> <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> <style>
{{> css}} {{> css}}
</style> </style>
</head> </head>
<body> <body>
<header>{{{body}}}</header> <header>{{{body}}}</header>
<div id="sites"> <div id="sites">
{{> sites}} {{> sites}}
</div> </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 src="https://s2.e15r.co/wp-includes/js/jquery/jquery.js"></script>
<script> <script>
{{> js-footer}} {{> js-footer}}
</script> </script>
{{> analytics}} {{> analytics}}
</body> </body>
</html> </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