From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 8F297322C for ; Wed, 21 Nov 2018 01:05:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2C5DC221C7; Tue, 20 Nov 2018 19:05:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 20 Nov 2018 19:05:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=jH344DPW987cCxR3e/cYc9N PY8Gce0PFcgzLfMOvZeU=; b=Msgk71GnLhp5EwIkt9MV2TFTtKtYH3MrW50XcND JoBgupb5SPrHqXv/gSpyWxBD/2ph1kGw5RQGL/UMZ6N9zB4O4TydI4/GdbGpYu3T /ogCK+Q0IqP5d65ld0U0paBQqSWpIAhnN/Uu9Cu94f38THWf1K2aNXTGZguz+yML NTTQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jH344DPW987cCxR3e /cYc9NPY8Gce0PFcgzLfMOvZeU=; b=VZ5+p6BUybHyeN9r54cAH5xrAYoXZaRio m2xPzvoyEMutGZswLkFDfJ/IMBEi7aB6cx5g34ghBJPzqMduZvl/ddfhQzNXeK0I UHHSOpaOEQho1Ox+7zcokChXM/ITZpLYDFcb5PREg3sObYK1DqhtDcVEM3whQQol Z4b87GaHvvnUibE04hZawRadmrdqE5RwfNWh5FRsLL6FXtdoQEk2csbx5hWGc2AU //NNxIBr4zewYgfDQLPi+Uyrai6LYvEMi7NfVllNLOIpy4jUhZEMphgechQeUvsk jUJnPo2gsQFBgjLGNdc2/WcOevATorUWVQ7BcwambpO6OAaacW5OA== X-ME-Sender: X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E91ED102E4 for ; Tue, 20 Nov 2018 19:05:36 -0500 (EST) From: Thomas Monjalon To: web@dpdk.org Date: Wed, 21 Nov 2018 01:05:30 +0100 Message-Id: <20181121000530.24424-1-thomas@monjalon.net> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-web] [PATCH] use shortcode parameter to center buttons X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 00:05:39 -0000 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 --- content/_index.md | 3 +-- content/lab/_index.md | 4 +--- 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 -
{{< button href="/download" >}} Download Now {{< /button >}} -
+{{< 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" +++ -
- {{< button href="https://lab.dpdk.org" >}} Dashboard {{< /button >}} -
+{{< button align="center" href="https://lab.dpdk.org" >}} Dashboard {{< /button >}} ## What it's for ---- -- 2.19.0