add sitemap and easy share

This commit is contained in:
infominer 2019-05-23 23:13:27 -04:00
parent d2ab04729c
commit 67b08bb214
3 changed files with 72 additions and 11 deletions

View File

@ -21,7 +21,7 @@ main:
url: "https://infominer.id/gh-pages-starter-pack.html"
- title: "Minimal Mistakes Quickstart Guide"
url: "https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/"
- title: "Inf⧉Mine⧉"
- title: "⧉InfoMine⧉"
url: "https://infominer.id/"
@ -253,7 +253,7 @@ sovnav:
url: "https://infominer.id/bitcoin-history/pgp-and-me/"
- title: "• Github Pages Starter Pack"
url: "https://infominer.id/gh-pages-starter-pack.html"
- title: "Inf⧉Mine⧉"
- title: "⧉InfoMine⧉"
children:
- title: "• infominer.id"
url: "https://infominer.id/"

View File

@ -1,15 +1,38 @@
<section class="page__share">
<h4>ON GITHUB</h4>
<p><a href="https://github.com/infominer33/DIDecentralized/edit/master/{{ page.path }}" class="edit">Edit this page <i class="fa fa-pencil"></i></a></p>
{% if site.data.ui-text[site.locale].share_on_label %}
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
{% endif %}
<p><a href="https://github.com/infominer33/DIDecentralized/blob/master/{{ page.path }}" class="edit">Edit this page <i class="fa fa-pencil"></i></a></p>
{% if site.data.ui-text[site.locale].share_on_label %}
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
{% endif %}
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
<a href="https://www.reddit.com/submit?url={{ page.url | relative_url }}&title={{ page.title }}" class="btn btn--reddit" title="{{ site.data.ui-text[site.locale].share_on_label }} Reddit"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i><span> Reddit</span></a>
</section>
<p><img src="https://infominer.id/assets/img/1pLr.gif"/></p>
<h4>SUPPORT THE CAUSE</h4>
<p>I love to **Earn Bitcoin** working with kind folk such as yourself.</p>
<p>More than a job, I'd love to generate an income by creating this site, and making it the most comprehensive resource to learn about Bitcoin and the technologies\economies that surround it.</p>
<!-- Beginning of tippin.me Button -->
<p><div id="tippin-button" data-dest="infominer33"></div>
<script src="https://tippin.me/buttons/tip.js" type="text/javascript"></script></p>
<!-- End of tippin.me Button -->
<table class="table table-bordered table-hover table-condensed">
<thead>
<tr>
<th title="Field #1">Bitcoin</th>
<th title="Field #2">DOGE</th>
</tr>
</thead>
<tbody>
<tr>
<td>1A1DZfw4VgpHCgnMjnmfDnMjddKf8xdYbd</td>
<td>DQKkzfJjqnXUD8Z7C3e84vKzvghPe9dXSa</td>
</tr>
<tr>
<td><img src="https://imgur.com/yXLLm9Bl.png" width="150"></td>
<td><img src="https://imgur.com/z316u0c.png" width="150"></td>
</tr>
</tbody>
</table>
</section>

38
_pages/sitemap.md Normal file
View File

@ -0,0 +1,38 @@
---
layout: archive
title: "Sitemap"
permalink: /sitemap/
author_profile: false
sidebar:
nav: "sourcenav"
share: true
---
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ "sitemap.xml" | relative_url }}) available for digesting as well.
<h2>Pages</h2>
{% for post in site.pages %}
{% include archive-single.html %}
{% endfor %}
<h2>Posts</h2>
{% for post in site.posts %}
{% include archive-single.html %}
{% endfor %}
{% capture written_label %}'None'{% endcapture %}
{% for collection in site.collections %}
{% unless collection.output == false or collection.label == "posts" %}
{% capture label %}{{ collection.label }}{% endcapture %}
{% if label != written_label %}
<h2>{{ label }}</h2>
{% capture written_label %}{{ label }}{% endcapture %}
{% endif %}
{% endunless %}
{% for post in collection.docs %}
{% unless collection.output == false or collection.label == "posts" %}
{% include archive-single.html %}
{% endunless %}
{% endfor %}
{% endfor %}