diff --git a/Makefile b/Makefile index 3df7455201c..55e0057fd24 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ GIT ?= $(shell which git) BZR ?= $(shell which bzr) WEB_DIR ?= website -WEBSITE_BASE_URL ?= thanos.io +WEBSITE_BASE_URL ?= https://thanos.io PUBLIC_DIR ?= $(WEB_DIR)/public ME ?= $(shell whoami) diff --git a/docs/contributing/how-to-contribute-to-docs.md b/docs/contributing/how-to-contribute-to-docs.md index c3c65578d2a..35c6cc53ab4 100644 --- a/docs/contributing/how-to-contribute-to-docs.md +++ b/docs/contributing/how-to-contribute-to-docs.md @@ -63,11 +63,26 @@ Keep `menu` the same as sub-directory the file is in. This will help to manage a Show new menu section in main page by changing `website/layouts/_default/baseof.html` file. +## Logos + +If your company is using Thanos in production, we'd love to showcase your company's logo on our page. Add yourself in [`website/data/sponsors.yml`](/website/data/sponsors.yml) like so: + +```yml +- name: My Awesome Company + url: https://wwww.company.com + logo: company.png +``` + +Copy your company's logo in `website/static/logos`, and make sure it follows these rules: + +* Rectangle shape +* Greyscale is prefered but color is fine +* Keep it under 50KB + ## Testing Run `make web-serve` to serve and preview the website locally. - ## Deployment. Ask maintainer to deploy the page. (`GOOGLE_ANALYTICS_TOKEN="< >" make web-deploy`) diff --git a/website/hugo.yaml b/website/hugo.yaml index 4b530f9a598..472134ab6f1 100644 --- a/website/hugo.yaml +++ b/website/hugo.yaml @@ -19,7 +19,7 @@ relativeURL: true contentDir: "docs-pre-processed" archetypeDir: "archetypes" layoutDir: "layouts" -publishDi: "public" +publishDir: "public" staticDir: "static" permalinks: diff --git a/website/layouts/_default/baseof.html b/website/layouts/_default/baseof.html index c98a45b7485..9fd91250abf 100644 --- a/website/layouts/_default/baseof.html +++ b/website/layouts/_default/baseof.html @@ -70,9 +70,10 @@