Browse Source

Fix for twitter cards (#34)

Signed-off-by: Mary Anthony <mary@blockstack.com>
feat/clarity-updates
Moxiegirl 6 years ago
committed by GitHub
parent
commit
51375c9363
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      _config.yml
  2. 1
      _develop/zero_to_dapp_1.md
  3. 1
      _develop/zero_to_dapp_2.md
  4. 1
      _develop/zero_to_dapp_3.md
  5. 1
      _develop/zero_to_dapp_3_win.md
  6. 1
      _develop/zero_to_dapp_4.md
  7. 4
      _includes/head.html
  8. 2
      _includes/share.html
  9. BIN
      assets/img/logo.png
  10. BIN
      assets/img/zero-to-dapp.png
  11. 5
      robots.txt

5
_config.yml

@ -57,7 +57,9 @@ social:
youtube: youtube:
# Twitter share button # Twitter share button
twitter_username: twitter:
username: blockstack
image: /assets/img/touch-icon.png
# Default footer image settings # Default footer image settings
footer: footer:
@ -147,6 +149,7 @@ defaults:
path: "" # an empty string here means all files in the project path: "" # an empty string here means all files in the project
values: values:
comments: true comments: true
image: /assets/img/touch-icon.png
collections: collections:
android: android:

1
_develop/zero_to_dapp_1.md

@ -1,6 +1,7 @@
--- ---
layout: learn layout: learn
permalink: /:collection/:path.html permalink: /:collection/:path.html
image: /assets/img/zero-to-dapp.png
--- ---
# 1 - Why Blockchain and Blockstack? # 1 - Why Blockchain and Blockstack?
{:.no_toc} {:.no_toc}

1
_develop/zero_to_dapp_2.md

@ -1,6 +1,7 @@
--- ---
layout: learn layout: learn
permalink: /:collection/:path.html permalink: /:collection/:path.html
image: /assets/img/zero-to-dapp.png
--- ---
# 2 - Discover how DApps are different # 2 - Discover how DApps are different
{:.no_toc} {:.no_toc}

1
_develop/zero_to_dapp_3.md

@ -1,6 +1,7 @@
--- ---
layout: learn layout: learn
permalink: /:collection/:path.html permalink: /:collection/:path.html
image: /assets/img/zero-to-dapp.png
--- ---
# 3 - Build an Animal Kingdom DApp # 3 - Build an Animal Kingdom DApp
{:.no_toc} {:.no_toc}

1
_develop/zero_to_dapp_3_win.md

@ -1,6 +1,7 @@
--- ---
layout: learn layout: learn
permalink: /:collection/:path.html permalink: /:collection/:path.html
image: /assets/img/zero-to-dapp.png
--- ---
# 3. Build an Animal Kingdom DApp # 3. Build an Animal Kingdom DApp
{:.no_toc} {:.no_toc}

1
_develop/zero_to_dapp_4.md

@ -1,6 +1,7 @@
--- ---
layout: learn layout: learn
permalink: /:collection/:path.html permalink: /:collection/:path.html
image: /assets/img/zero-to-dapp.png
--- ---
# 4 - Participate in App Mining # 4 - Participate in App Mining
{:.no_toc} {:.no_toc}

4
_includes/head.html

@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title | escape }}</title> <title>{{ page.title | escape }}</title>
{% seo title=false %} {% seo title=false %}
<!-- <meta property="og:image" content="{% if site.brand.image contains 'http' %}{{ site.brand.image }}{% else %}{{ site.post_assets | absolute_url }}{{ site.brand.image }}{% endif %}"/> --> <!-- <meta property="og:image" content="{% if site.brand.image contains 'http' %}{{ site.brand.image }}{% else %}{{ site.post_assets | url }}{{ site.brand.image }}{% endif %}"/> -->
<meta property="og:image" content="{% if site.brand.image contains 'http' %}{{ site.brand.image }}{% else %}{{ site.post_assets | url }}{{ site.brand.image }}{% endif %}"/> <meta property="og:image" content="{{ "/assets/img/touch-icon.png" | relative_url }}"/>
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"> <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<link rel="shortcut icon" type="image/png" href="{{ "assets/img/touch-icon.png" | relative_url }}" > <link rel="shortcut icon" type="image/png" href="{{ "assets/img/touch-icon.png" | relative_url }}" >
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}"> <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">

2
_includes/share.html

@ -1,3 +1,3 @@
<div class="share uk-text-center"> <div class="share uk-text-center">
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter" onclick="window.open(this.href, 'twitter', 'width=550,height=235');return false;"><span data-uk-icon="icon: twitter; ratio: 1.2"></span></a> <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter.username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter" onclick="window.open(this.href, 'twitter', 'width=550,height=235');return false;"><span data-uk-icon="icon: twitter; ratio: 1.2"></span></a>
</div> </div>

BIN
assets/img/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

BIN
assets/img/zero-to-dapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

5
robots.txt

@ -0,0 +1,5 @@
# www.robotstxt.org/
# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
User-agent: *
Sitemap: https://docs.blockstack.org/sitemap.xml
Loading…
Cancel
Save