summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2018-11-20 22:58:14 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-11-20 23:14:50 +0100
commitebc1eabfa1ec95acc146b22bf3fe7d2447ca54d7 (patch)
tree2121d813ed560f83586c04394d8f76f2ff71b9e1 /content
parentbe1d912b7b016db41fb34d0614e50ebd28a4d61c (diff)
downloaddpdk-web-ebc1eabfa1ec95acc146b22bf3fe7d2447ca54d7.zip
dpdk-web-ebc1eabfa1ec95acc146b22bf3fe7d2447ca54d7.tar.gz
dpdk-web-ebc1eabfa1ec95acc146b22bf3fe7d2447ca54d7.tar.xz
use shortcode parameter to center buttons
The shortcode "button" has a parameter "align": https://docdock.netlify.com/shortcodes/button/ It can replace the HTML tag "center". Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'content')
-rw-r--r--content/_index.md3
-rw-r--r--content/lab/_index.md4
2 files changed, 2 insertions, 5 deletions
diff --git a/content/_index.md b/content/_index.md
index 0b2e2d4..b552623 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -21,8 +21,7 @@ running on a wide variety of CPU architectures.
- Runs mostly in Linux userland
- DPDK is an Open Source BSD licensed project
-<center>{{< button href="/download" >}} Download Now {{< /button >}}
-</center>
+{{< button align="center" href="/download" >}} Download Now {{< /button >}}
##### Architecture
----
diff --git a/content/lab/_index.md b/content/lab/_index.md
index 2841b14..913c86f 100644
--- a/content/lab/_index.md
+++ b/content/lab/_index.md
@@ -3,9 +3,7 @@ title = "Community Lab"
weight = "8"
+++
-<center>
- {{< button href="https://lab.dpdk.org" >}} Dashboard {{< /button >}}
-</center>
+{{< button align="center" href="https://lab.dpdk.org" >}} Dashboard {{< /button >}}
## What it's for
----