Docker and Ghost CMS overhaul

This commit is contained in:
Marwolf
2018-08-18 01:10:09 -04:00
parent 399e5ea342
commit 4dd84332d5
105 changed files with 1289 additions and 337 deletions

View File

@@ -0,0 +1,24 @@
<aside class="cover" style="background: url({{@blog.cover_image}}) center/cover no-repeat fixed">
<div class="cover container">
<div class="profile">
{{#if @blog.logo}}
<a id="avatar-link" title="link to homepage for {{@blog.title}}" href="{{@blog.url}}/#open">
<img src="{{@blog.logo}}" alt="{{@blog.title}} avatar" class="profile avatar rounded hvr-buzz-out" />
<h1 id="profile-title">{{@blog.title}}</h1>
<h3 id="profile-resume"></h3>
</a>
{{/if}}
<hr class="divider long" />
<p>{{@blog.description}}</p>
<hr class="divider short" />
<div class="navigation">
<div class="profile contact">
{{navigation}}
{{> social}}
{{> search }}
</div>
</div>
</div>
</div>
</aside>

View File

@@ -0,0 +1,11 @@
<footer class="post comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + window.disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</footer>

View File

@@ -0,0 +1,5 @@
<footer>
<span class="copyright">
</span>
</footer>

View File

@@ -0,0 +1,11 @@
<script>
if (window.ga_id) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', window.ga_id, 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
}
</script>

View File

@@ -0,0 +1,16 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{!-- Twitter & Facebook meta tag are inject in ghost_head --}}
<link rel="icon" type="image/png" href="/assets/img/favicon-32x32.png?v=wAAv6Wqe6l" sizes="32x32">
<link rel="icon" type="image/png" href="/assets/img/favicon-194x194.png?v=wAAv6Wqe6l" sizes="194x194">
<link rel="icon" type="image/png" href="/assets/img/favicon-96x96.png?v=wAAv6Wqe6l" sizes="96x96">
<link rel="icon" type="image/png" href="/assets/img/android-chrome-192x192.png?v=wAAv6Wqe6l" sizes="192x192">
<link rel="icon" type="image/png" href="/assets/img/favicon-16x16.png?v=wAAv6Wqe6l" sizes="16x16">
<link rel="manifest" href="/assets/img/manifest.json?v=wAAv6Wqe6l">
<link rel="shortcut icon" href="/assets/img/favicon.ico?v=wAAv6Wqe6l">
<meta name="theme-color" content="#e74c3c">

View File

@@ -0,0 +1,9 @@
<nav class="navigation left">
<ul class="links">
{{#foreach navigation}}
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}} {{#is "home"}}nav-current{{/is}}">
<a href="{{url absolute="true"}}">{{label}}</a>
</li>
{{/foreach}}
</ul>
</nav>

View File

@@ -0,0 +1,9 @@
<nav class="pagination">
{{#if prev}}
<a rel="next" class="posts newer btn small" href="{{page_url prev}}#open">&larr; Newer Posts</a>
{{/if}}
<span class="posts index">Page {{page}} of {{pages}}</span>
{{#if next}}
<a rel="prev" class="posts older btn small" href="{{page_url next}}#open">Older Posts &rarr;</a>
{{/if}}
</nav>

View File

@@ -0,0 +1,3 @@
<span class="post author">
<img src="{{author.profile_image}}" class="rounded" alt="profile image for {{author.name}}"/> by {{author.name}}
</span>

View File

@@ -0,0 +1,6 @@
<section class="icon icon-search" id="search-container">
<hr class="divider short" />
<form target="blank" id="search-form" action="https://www.google.com/#q=site:{{@blog.url}}">
<input type="text" name="search" placeholder="git, css, javascript,..." id="search-field" />
</form>
</section>

View File

@@ -0,0 +1,86 @@
{{!------------------------------
To add a new social icon simply duplicate one of the list items from below
and change the class in the <i> tag to match the desired social network
and then add your link to the <a>. Here is a full list of social network
classes that you can use:
icon-social-500px
icon-social-behance
icon-social-delicious
icon-social-designer-news
icon-social-deviant-art
icon-social-digg
icon-social-dribbble
icon-social-facebook
icon-social-flickr
icon-social-forrst
icon-social-foursquare
icon-social-github
icon-social-google-plus
icon-social-hi5
icon-social-instagram
icon-social-lastfm
icon-social-linkedin
icon-social-medium
icon-social-myspace
icon-social-path
icon-social-pinterest
icon-social-rdio
icon-social-reddit
icon-social-skype
icon-social-spotify
icon-social-stack-overflow
icon-social-steam
icon-social-stumbleupon
icon-social-treehouse
icon-social-tumblr
icon-social-twitter
icon-social-vimeo
icon-social-xbox
icon-social-yelp
icon-social-youtube
icon-social-zerply
icon-mail
--------------------------------}}
<script defer src="https://use.fontawesome.com/releases/v5.2.0/js/all.js" integrity="sha384-4oV5EgaV02iISL2ban6c/RmotsABqE4yZxZLcYMAdG7FAPsyHYAPpywE9PJo+Khy" crossorigin="anonymous"></script>
<nav class="navigation right">
<ul class="social expanded">
<!-- Twitter -->
<li class="social item hvr-grow-rotate">
<a rel="me" target="blank" href="https://twitter.com/openrsc" title="@OpenRSC on Twitter">
<i class='icon icon-social-twitter'></i>
<span class="label">Twitter</span>
</a>
</li>
<!-- Github -->
<li class="social item hvr-grow-rotate">
<a rel="me" target="blank" href="https://github.com/open-rsc" title="Open RSC on Github">
<i class='icon icon-social-github'></i>
<span class="label">Github</span>
</a>
</li>
<!-- Reddit -->
<li class="social item hvr-grow-rotate">
<a rel="me" target="blank" href="https://www.reddit.com/r/openrsc/" title="Open RSC on Reddit">
<i class='icon icon-social-reddit'></i>
<span class="label">Reddit</span>
</a>
</li>
<!-- Discord -->
<li class="social item hvr-grow-rotate">
<a rel="me" target="blank" href="https://discord.gg/94vVKND" title="Open RSC on Discord">
<span style="font-size: 24px;">
<i class='fab fa-discord'></i>
</span>
<span class="label">Discord</span>
</a>
</li>
</ul>
</nav>