Skip to content

Commit

Permalink
API layout cleanup and use one API CSS stylesheet to rule them all
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd committed Sep 15, 2023
1 parent ee4b28a commit 34e2833
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
8 changes: 2 additions & 6 deletions themes/docs-new/layouts/_default/data-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@
{{- end -}}
{{- end }}
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
{{ if in .Params.product "automate" }}
<link rel="stylesheet" type="text/css" href="/automate-api-stylesheet.css">
{{ else }}
<link rel="stylesheet" type="text/css" href="{{ $.Page.Params.style_sheet }}">
{{ end }}
<link rel="stylesheet" type="text/css" href="/api-stylesheet.css">
</head>
<body>
{{ if in .Params.product "automate" }}
{{ if eq $.Page.Params.title "Chef Automate API" }}
<div id="top-container">
<span id="top-container-return">
<a class="return" style="position: static;" href="{{ $.Page.Params.return_page }}">Return to Docs</a>
Expand Down
File renamed without changes.
24 changes: 0 additions & 24 deletions themes/docs-new/static/habitat-api-styles.css

This file was deleted.

0 comments on commit 34e2833

Please sign in to comment.