mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Documents existing image path functionality for blog posts.
-- updates wallet hero links
This commit is contained in:
parent
a9349dd78c
commit
ead15adb8a
5 changed files with 38 additions and 6 deletions
|
@ -106,3 +106,10 @@ image: /assets/images/2016/05/Node40-banner.jpg
|
|||
title: New website for Node40
|
||||
description: Check out the new website for Node40
|
||||
```
|
||||
|
||||
###Blog Post Images
|
||||
Image paths for blogs are currently relative to /{language}/assets/img/blog by default. If we replaced the image path from the front matter above with:
|
||||
```
|
||||
image: MyImage.jpg
|
||||
```
|
||||
... will look for `"MyImage.jpg"` in the `/assets/img/blog` folder.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
author: tungfa
|
||||
layout: post
|
||||
image:
|
||||
image: #CoPayWalletcopy.jpg #not currently working with language posts. Needs resolution.
|
||||
title: "Copay-Dash Wallet (Testnet só / RC 0.1)"
|
||||
---
|
||||
Estou feliz em anunciar uma versão “Release Candidate” da Copay-Dash, uma carteira Copay que foi desenvolvida pela Bitpay.
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
<h1 class="hero__title">{% t pages.wallets.hero-heading %}</h1>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="#" class="btn-white-solid">{% t pages.wallets.hero-wallets-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.wallets.hero-guide-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.wallets.hero-security-btn %}</a>
|
||||
<a href="#wallets" class="btn-white-solid">{% t pages.wallets.hero-wallets-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=1146941" target="_blank" class="btn-white-solid">{% t pages.wallets.hero-guide-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=31326247" target="_blank" class="btn-white-solid">{% t pages.wallets.hero-security-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,3 +6,28 @@ Where YEAR is a four-digit number, MONTH and DAY are both two-digit numbers, and
|
|||
2011-12-31-new-years-eve-is-awesome.md
|
||||
2011-12-31-new-years-eve-is-awesome.html
|
||||
2012-09-12-how-to-write-a-blog.textile
|
||||
|
||||
## Writing a Blog Post
|
||||
Blog posts can be written in MarkDown (*.md) or HTML (*.html).
|
||||
|
||||
Posts need to be saved in the `_posts` directory and the filename must always start with YYYY-MM-DD-
|
||||
|
||||
For example: `2016-05-12-new-website.md`
|
||||
|
||||
###Front matter
|
||||
The top page of every post should contain the following (Example):
|
||||
```
|
||||
author: perry
|
||||
layout: post
|
||||
image: Node40-banner.jpg
|
||||
title: New website for Node40
|
||||
description: Check out the new website for Node40
|
||||
```
|
||||
|
||||
###Blog Post Images
|
||||
Image paths for blogs are currently relative to {language}/assets/img/blog by default. If we replaced the image path from the front matter above with:
|
||||
```
|
||||
image: MyImage.jpg
|
||||
```
|
||||
... will look for `"MyImage.jpg"` in the `/{language}/assets/img/blog` folder.
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ description: pages.wallets.description
|
|||
<div class="page page--wallets">
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h3>{% t pages.wallets.wallets-desktop-header %}</h3>
|
||||
<h3 id="wallets">{% t pages.wallets.wallets-desktop-header %}</h3>
|
||||
<p>{% t pages.wallets.wallets-desktop-subtitle %}</p>
|
||||
<ul id="wallet-os-tabs" class="nav2 nav-tabs">
|
||||
{% for os-sequence in desktop-os-order-list %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue