DPDK website maintenance
 help / color / mirror / Atom feed
* [dpdk-web] [PATCH] layouts: remove duplicate head tag
@ 2019-05-19 14:00 Ali Alnubani
  2019-05-19 14:00 ` [dpdk-web] [PATCH] config: unset 'themeVariant' Ali Alnubani
  2019-05-20 15:09 ` [dpdk-web] [PATCH] layouts: remove duplicate head tag Thomas Monjalon
  0 siblings, 2 replies; 4+ messages in thread
From: Ali Alnubani @ 2019-05-19 14:00 UTC (permalink / raw)
  To: web

The custom template should not include the head tag,
since it's already included.

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
 layouts/partials/custom-head.html | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html
index 210e52b..9f510bb 100644
--- a/layouts/partials/custom-head.html
+++ b/layouts/partials/custom-head.html
@@ -1,6 +1,4 @@
-<head>
-	<link rel="shortcut icon" href="/favicon.ico">
-	<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.css">
-	<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/dpdk.css">
-	<link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
-</head>
+<link rel="shortcut icon" href="/favicon.ico">
+<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.css">
+<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/dpdk.css">
+<link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
-- 
2.11.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-web] [PATCH] config: unset 'themeVariant'
  2019-05-19 14:00 [dpdk-web] [PATCH] layouts: remove duplicate head tag Ali Alnubani
@ 2019-05-19 14:00 ` Ali Alnubani
  2019-05-20 15:09   ` Thomas Monjalon
  2019-05-20 15:09 ` [dpdk-web] [PATCH] layouts: remove duplicate head tag Thomas Monjalon
  1 sibling, 1 reply; 4+ messages in thread
From: Ali Alnubani @ 2019-05-19 14:00 UTC (permalink / raw)
  To: web

The 'flex' theme defined in 'themeStyle' does not
have a 'variant-<themeVariant>.css' file. The template
themes/docdock/layouts/partials/flex/head.html tries to
load that file and fails.

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
 config.toml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/config.toml b/config.toml
index 657a7f9..3661ac6 100644
--- a/config.toml
+++ b/config.toml
@@ -7,7 +7,6 @@ theme = "docdock"
 
 [params]
 themeStyle = "flex"
-themeVariant = "gray"
 showVisitedLinks = true
 disableNavChevron = true
 disableSearch = true
-- 
2.11.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-web] [PATCH] config: unset 'themeVariant'
  2019-05-19 14:00 ` [dpdk-web] [PATCH] config: unset 'themeVariant' Ali Alnubani
@ 2019-05-20 15:09   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2019-05-20 15:09 UTC (permalink / raw)
  To: Ali Alnubani; +Cc: web

19/05/2019 16:00, Ali Alnubani:
> The 'flex' theme defined in 'themeStyle' does not
> have a 'variant-<themeVariant>.css' file. The template
> themes/docdock/layouts/partials/flex/head.html tries to
> load that file and fails.
> 
> Signed-off-by: Ali Alnubani <alialnu@mellanox.com>

Applied, thanks



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-web] [PATCH] layouts: remove duplicate head tag
  2019-05-19 14:00 [dpdk-web] [PATCH] layouts: remove duplicate head tag Ali Alnubani
  2019-05-19 14:00 ` [dpdk-web] [PATCH] config: unset 'themeVariant' Ali Alnubani
@ 2019-05-20 15:09 ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2019-05-20 15:09 UTC (permalink / raw)
  To: Ali Alnubani; +Cc: web

19/05/2019 16:00, Ali Alnubani:
> The custom template should not include the head tag,
> since it's already included.
> 
> Signed-off-by: Ali Alnubani <alialnu@mellanox.com>

Applied, thanks



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-20 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 14:00 [dpdk-web] [PATCH] layouts: remove duplicate head tag Ali Alnubani
2019-05-19 14:00 ` [dpdk-web] [PATCH] config: unset 'themeVariant' Ali Alnubani
2019-05-20 15:09   ` Thomas Monjalon
2019-05-20 15:09 ` [dpdk-web] [PATCH] layouts: remove duplicate head tag Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).