From 40e2feaac4863fcb6972f7219f6e82a82dafe2ce Mon Sep 17 00:00:00 2001 From: sovanna Date: Mon, 8 Jul 2019 11:59:50 +0200 Subject: [PATCH] fix(website): Applies various changes - updates config - changes typo ARTIQ - decrease logos size on mobile for ARTIQ - adds robots.txt and disallow robot (meta too) --- config.toml | 6 +++--- content/_index.md | 2 +- content/experiment-control/artiq.md | 2 +- sass/css/_layout.scss | 9 +++++++++ templates/_base.html | 2 ++ templates/robots.txt | 2 ++ 6 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 templates/robots.txt diff --git a/config.toml b/config.toml index d3662d3..4df3611 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,6 @@ -base_url = "m-labs.hk" -title = "System-on-chip design capable of running MilkDrop" -description = "M-Labs has varied activities. One of them is ARTIQ, a leading-edge open source control system for quantum information experiments" +base_url = "/" +title = "M-Labs" +description = "" compile_sass = true highlight_code = true diff --git a/content/_index.md b/content/_index.md index a2be2b5..4e658f3 100644 --- a/content/_index.md +++ b/content/_index.md @@ -4,7 +4,7 @@ sort_by = "weight" +++ Experiment control - - Artiq + - ARTIQ - Sinara Gateware diff --git a/content/experiment-control/artiq.md b/content/experiment-control/artiq.md index 634032e..0a8141c 100644 --- a/content/experiment-control/artiq.md +++ b/content/experiment-control/artiq.md @@ -1,5 +1,5 @@ +++ -title = "Artiq" +title = "ARTIQ" weight = 1 +++ diff --git a/sass/css/_layout.scss b/sass/css/_layout.scss index 446170d..f629f09 100644 --- a/sass/css/_layout.scss +++ b/sass/css/_layout.scss @@ -25,6 +25,7 @@ h3, h2 { align-items: center; flex-wrap: wrap; img { + width: 150px; padding: .8rem; } } @@ -73,6 +74,14 @@ h3, h2 { .card-gateware { background: #fff url("../images/gateware@2x.png") no-repeat top right; } + + .logos-centered { + p { + img { + width: 200px; + } + } + } } // Extra large devices (large desktops, 1200px and up) diff --git a/templates/_base.html b/templates/_base.html index 846eeb0..e8af0b6 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -9,6 +9,8 @@ + + {% block ogtitle %} diff --git a/templates/robots.txt b/templates/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/templates/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /