diff --git a/README.md b/README.md index 824c4af..b249f76 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/_i18n/pt/_posts/2017-02-01-copaypt.md b/_i18n/pt/_posts/2017-02-01-copaypt.md index 6f531f7..9aa33a9 100644 --- a/_i18n/pt/_posts/2017-02-01-copaypt.md +++ b/_i18n/pt/_posts/2017-02-01-copaypt.md @@ -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. diff --git a/_includes/hero/wallets.html b/_includes/hero/wallets.html index 5b81ad2..6886272 100644 --- a/_includes/hero/wallets.html +++ b/_includes/hero/wallets.html @@ -15,9 +15,9 @@

{% t pages.wallets.hero-heading %}

- {% t pages.wallets.hero-wallets-btn %} - {% t pages.wallets.hero-guide-btn %} - {% t pages.wallets.hero-security-btn %} + {% t pages.wallets.hero-wallets-btn %} + {% t pages.wallets.hero-guide-btn %} + {% t pages.wallets.hero-security-btn %}
diff --git a/_posts/README.md b/_posts/README.md index 05e08e4..70d99a0 100644 --- a/_posts/README.md +++ b/_posts/README.md @@ -5,4 +5,29 @@ 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 \ No newline at end of file +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. + diff --git a/wallets/index.html b/wallets/index.html index 679ee06..bccfd8f 100644 --- a/wallets/index.html +++ b/wallets/index.html @@ -24,7 +24,7 @@ description: pages.wallets.description
-

{% t pages.wallets.wallets-desktop-header %}

+

{% t pages.wallets.wallets-desktop-header %}

{% t pages.wallets.wallets-desktop-subtitle %}