btcpayserver / blog

BTCPay Server Official Blog

Home Page:https://blog.btcpayserver.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BTCPay Server Blog

Build

Based on the VuePress blog plugin.

Build the blog locally

In order to build the website locally, you'll need Node.js >= 14 (or basically the latest LTS version). A prerequisite for the setup-deps.sh script is jq.

The setup is straight forward:

# Install dependencies
npm install

# Serve locally
npm start

Text Highlights

There are three types of text highlights that can be used to display different colored boxes.

A green box displaying a friendly tip:

:::tip
foo
:::

A yellow box with a cautious warning:

:::warning
foo
:::

A red box with a clear danger, you can also add a title foo to any container:

:::danger foo
bar
:::

SEO improvements

We are using the Vuepress SEO plugin to add relevant meta tags to the site and individual pages.

To improve the meta attributes of a specific page, you can add them as YAML frontmatter like this: (see the WooCommerce page for an example)

---
description: How to integrate BTCPay Server into your WooCommerce store.
tags:
- WooCommerce
- WordPress
- Plugin
- eCommerce
---
# WooCommerce integration

This document explains how to **integrate BTCPay Server into your WooCommerce store**.

Embedding YouTube videos

To add a YouTube video with a preview, you can so so by linking to it like this:

[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/mqdefault.jpg)](https://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)

Note that the link item need to be a preview image (either from YouTube or a custom one) to result in an embedded video.

About

BTCPay Server Official Blog

https://blog.btcpayserver.org

License:MIT License


Languages

Language:Stylus 39.5%Language:Vue 31.9%Language:CSS 17.9%Language:JavaScript 10.7%