summaryrefslogtreecommitdiff
path: root/content/_index.md
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/_index.md
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/_index.md')
-rw-r--r--content/_index.md3
1 files changed, 1 insertions, 2 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
----