Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
node_modules/
*.pyc
/.vs
*.log

/site/data/*/api-docs.json
/site/public/
Expand Down
23 changes: 23 additions & 0 deletions site/themes/arangodb-docs-theme/images/ArangoAMP_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
19 changes: 0 additions & 19 deletions site/themes/arangodb-docs-theme/images/ArangoGraph_Logo.svg

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file removed site/themes/arangodb-docs-theme/images/favicon.png
Binary file not shown.
1 change: 1 addition & 0 deletions site/themes/arangodb-docs-theme/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/themes/arangodb-docs-theme/images/logo_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions site/themes/arangodb-docs-theme/layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<html lang="{{ .Page.Language | default "en" }}">

<head>
{{- partial "stylesheet.html" . }}
{{- partialCached "stylesheet.html" . }}
{{- partial "meta.html" . }}
<link href="{{ "/images/favicon.png" | relURL }}" rel="icon" type="image/png">
{{- partial "javascript.html" . }}
{{- partialCached "favicon.html" . }}
{{- partialCached "javascript.html" . }}
</head>

<body>
Expand Down
26 changes: 12 additions & 14 deletions site/themes/arangodb-docs-theme/layouts/partials/favicon.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
{{- if (fileExists "/static/images/favicon.svg") }}
<link href="{{ "images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/svg+xml">
{{- else if (fileExists "/static/images/favicon.png") }}
<link href="{{ "images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/png">
{{- else if (fileExists "/static/images/favicon.ico") }}
<link href="{{ "images/favicon.ico" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/x-icon">
{{- else if (fileExists "/static/images/logo.svg") }}
<link href="{{ "images/logo.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/svg+xml">
{{- else if (fileExists "/static/images/logo.png") }}
<link href="{{ "images/logo.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/png">
{{- else if (fileExists "/static/images/logo.ico") }}
<link href="{{ "images/logo.ico" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/x-icon">
{{- end }}
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
{{- if (fileExists "images/favicon.ico") }}
<link href="{{ "images/favicon.ico" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/x-icon" sizes="any">
{{- end }}
{{- if (fileExists "images/favicon.svg") }}
<link href="{{ "images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/svg+xml">
{{- else if (fileExists "images/favicon.png") }}
<link href="{{ "images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="icon" type="image/png">
{{- end }}
{{- if (fileExists "images/apple-touch-icon.png") }}
<link href="{{ "images/apple-touch-icon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="apple-touch-icon" sizes="180x180">
{{- end }}
Loading