Initial commit of Palina Ghost theme
This commit is contained in:
26
partials/footer.hbs
Normal file
26
partials/footer.hbs
Normal file
@@ -0,0 +1,26 @@
|
||||
<footer class="text-gray-400 bg-gray-900 body-font">
|
||||
<div class="container px-5 py-8 mx-auto flex items-center sm:flex-row flex-col">
|
||||
<a href="{{@site.url}}" class="flex title-font font-medium items-center md:justify-start justify-center text-white">
|
||||
<span class="ml-3 text-xl">{{@site.title}}</span>
|
||||
</a>
|
||||
<p class="text-sm text-gray-500 sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-gray-800 sm:py-2 sm:mt-0 mt-4">
|
||||
© {{date format="YYYY"}} {{@site.title}} — Powered by Ghost
|
||||
</p>
|
||||
<span class="inline-flex sm:ml-auto sm:mt-0 mt-4 justify-center sm:justify-start">
|
||||
{{#if @site.facebook}}
|
||||
<a href="{{@site.facebook_url}}" class="text-gray-500 hover:text-white transition duration-200">
|
||||
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
|
||||
<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{#if @site.twitter}}
|
||||
<a href="{{@site.twitter_url}}" class="ml-3 text-gray-500 hover:text-white transition duration-200">
|
||||
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
|
||||
<path d="M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
{{/if}}
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
10
partials/header.hbs
Normal file
10
partials/header.hbs
Normal file
@@ -0,0 +1,10 @@
|
||||
<header class="text-gray-100 body-font shadow-lg bg-gray-900">
|
||||
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
|
||||
<a href="{{@site.url}}" class="flex title-font font-medium items-center text-white mb-4 md:mb-0">
|
||||
<span class="ml-3 text-xl">{{@site.title}}</span>
|
||||
</a>
|
||||
<nav class="md:ml-auto flex flex-wrap items-center text-base justify-center">
|
||||
{{navigation type="primary"}}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
Reference in New Issue
Block a user