From d00ec6ba3209cdf6bfa3035b100a00e97b818f41 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:24:08 +0000 Subject: [PATCH 01/17] Update logo.svg --- static/images/logo.svg | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/static/images/logo.svg b/static/images/logo.svg index 92a547923..6a315c076 100644 --- a/static/images/logo.svg +++ b/static/images/logo.svg @@ -1 +1,23 @@ - + + + + + + + + From f184d0ebad70a6121a5fcb174e027c50e0447fbf Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:28:28 +0000 Subject: [PATCH 02/17] Update logo.svg --- static/images/logo.svg | 217 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 196 insertions(+), 21 deletions(-) diff --git a/static/images/logo.svg b/static/images/logo.svg index 6a315c076..b6415a7e7 100644 --- a/static/images/logo.svg +++ b/static/images/logo.svg @@ -1,23 +1,198 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 44e1e839e09282d22c33150fe2569d6be6e3f097 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:32:38 +0000 Subject: [PATCH 03/17] Update logo.svg --- static/images/logo.svg | 124 ++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 63 deletions(-) diff --git a/static/images/logo.svg b/static/images/logo.svg index b6415a7e7..e60ba6aae 100644 --- a/static/images/logo.svg +++ b/static/images/logo.svg @@ -3,196 +3,194 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + From 03fe53d573202783558360d0a5f009743908cab5 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:35:32 +0000 Subject: [PATCH 04/17] Update logo.svg --- static/images/logo.svg | 122 ++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/static/images/logo.svg b/static/images/logo.svg index e60ba6aae..da5f594d3 100644 --- a/static/images/logo.svg +++ b/static/images/logo.svg @@ -3,194 +3,194 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + From c2e5fe38c317de3204170515c319afdd01334c9a Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:39:41 +0000 Subject: [PATCH 05/17] Update main.scss --- assets/sass/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/sass/main.scss b/assets/sass/main.scss index a048e6fc0..4e1e089f3 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -1,4 +1,4 @@ -$main-colour: {{ .Site.Params.maincolour | default "#1a0013"}}; +$main-colour: {{ .Site.Params.maincolour | default "#365a8c"}}; .bookmark-icon{ color: $main-colour; From f2835a606be4b7fd290e7be25c9fe754b46a24e7 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 12:46:49 +0000 Subject: [PATCH 06/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 566d6edc6..9901018cb 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -31,7 +31,7 @@ params: readingTime: true indieauth: true webmentionUsername: "username.co.uk" - maincolour: "#ff00bf" + maincolour: "#365a8c" # A list of custom css files can be provided, which must be placed inside # 'static/'. # This is useful to override just specific css classes, instead of copying From 396e3b484dc31df20ca5994fd01f6f6a9d1d00ae Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 13:33:26 +0000 Subject: [PATCH 07/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 9901018cb..c00d5ef0c 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -72,7 +72,7 @@ menu: url: / weight: 1 - name: Blog - url: /post/ + url: /blog/ weight: 2 - name: Tags url: /tags/ From f8f04cba30f7f18cd055a2eae038df28c9de9ae3 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 13:45:20 +0000 Subject: [PATCH 08/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index c00d5ef0c..784e21708 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -10,7 +10,7 @@ taxonomies: tag: tags permalinks: - post: /:filename/ + Blog: /:filename/ imaging: quality: 99 From f5de5624f7cb40bc5071f202d634ec3ef95c8e09 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 13:47:53 +0000 Subject: [PATCH 09/17] change name blog --- .../content/{post => blog}/cmd-test.md | 0 .../{post => blog}/creating-a-new-theme.md | 0 .../{post => blog}/cupper-shortcodes/index.md | 0 .../{post => blog}/cupper-shortcodes/sun.jpg | Bin .../{post => blog}/cupper-typography.md | 0 .../content/{post => blog}/goisforlovers.md | 0 .../content/{post => blog}/hugoisforlovers.md | 0 exampleSite/content/{post => blog}/katex.md | 58 +++++++++--------- .../{post => blog}/migrate-from-jekyll.md | 0 .../multiple-expandable-test.md | 0 .../{post => blog}/nasa-images/earth.jpg | Bin .../{post => blog}/nasa-images/index.md | 0 .../{post => blog}/nasa-images/moon.jpg | Bin .../{post => blog}/nasa-images/sun.jpg | Bin .../{post => blog}/quotes-by-carl-jung.md | 0 .../{post => blog}/special-character-test.md | 0 16 files changed, 29 insertions(+), 29 deletions(-) rename exampleSite/content/{post => blog}/cmd-test.md (100%) rename exampleSite/content/{post => blog}/creating-a-new-theme.md (100%) rename exampleSite/content/{post => blog}/cupper-shortcodes/index.md (100%) rename exampleSite/content/{post => blog}/cupper-shortcodes/sun.jpg (100%) rename exampleSite/content/{post => blog}/cupper-typography.md (100%) rename exampleSite/content/{post => blog}/goisforlovers.md (100%) rename exampleSite/content/{post => blog}/hugoisforlovers.md (100%) rename exampleSite/content/{post => blog}/katex.md (95%) rename exampleSite/content/{post => blog}/migrate-from-jekyll.md (100%) rename exampleSite/content/{post => blog}/multiple-expandable-test.md (100%) rename exampleSite/content/{post => blog}/nasa-images/earth.jpg (100%) rename exampleSite/content/{post => blog}/nasa-images/index.md (100%) rename exampleSite/content/{post => blog}/nasa-images/moon.jpg (100%) rename exampleSite/content/{post => blog}/nasa-images/sun.jpg (100%) rename exampleSite/content/{post => blog}/quotes-by-carl-jung.md (100%) rename exampleSite/content/{post => blog}/special-character-test.md (100%) diff --git a/exampleSite/content/post/cmd-test.md b/exampleSite/content/blog/cmd-test.md similarity index 100% rename from exampleSite/content/post/cmd-test.md rename to exampleSite/content/blog/cmd-test.md diff --git a/exampleSite/content/post/creating-a-new-theme.md b/exampleSite/content/blog/creating-a-new-theme.md similarity index 100% rename from exampleSite/content/post/creating-a-new-theme.md rename to exampleSite/content/blog/creating-a-new-theme.md diff --git a/exampleSite/content/post/cupper-shortcodes/index.md b/exampleSite/content/blog/cupper-shortcodes/index.md similarity index 100% rename from exampleSite/content/post/cupper-shortcodes/index.md rename to exampleSite/content/blog/cupper-shortcodes/index.md diff --git a/exampleSite/content/post/cupper-shortcodes/sun.jpg b/exampleSite/content/blog/cupper-shortcodes/sun.jpg similarity index 100% rename from exampleSite/content/post/cupper-shortcodes/sun.jpg rename to exampleSite/content/blog/cupper-shortcodes/sun.jpg diff --git a/exampleSite/content/post/cupper-typography.md b/exampleSite/content/blog/cupper-typography.md similarity index 100% rename from exampleSite/content/post/cupper-typography.md rename to exampleSite/content/blog/cupper-typography.md diff --git a/exampleSite/content/post/goisforlovers.md b/exampleSite/content/blog/goisforlovers.md similarity index 100% rename from exampleSite/content/post/goisforlovers.md rename to exampleSite/content/blog/goisforlovers.md diff --git a/exampleSite/content/post/hugoisforlovers.md b/exampleSite/content/blog/hugoisforlovers.md similarity index 100% rename from exampleSite/content/post/hugoisforlovers.md rename to exampleSite/content/blog/hugoisforlovers.md diff --git a/exampleSite/content/post/katex.md b/exampleSite/content/blog/katex.md similarity index 95% rename from exampleSite/content/post/katex.md rename to exampleSite/content/blog/katex.md index c005322cb..31f3e4b5e 100644 --- a/exampleSite/content/post/katex.md +++ b/exampleSite/content/blog/katex.md @@ -1,29 +1,29 @@ ---- -title: "Katex Math Typesetting" -date: "2019-03-28" -tags: [katex, math, typesetting, hugo] ---- - -Enable Katex in the config file by setting the `katex` param to `true`. This will import the necessary Katex CSS/JS. - -**Note:** Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html). - -Some math: - -``` -$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ -``` - -$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ - -More math: - -``` -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ +--- +title: "Katex Math Typesetting" +date: "2019-03-28" +tags: [katex, math, typesetting, hugo] +--- + +Enable Katex in the config file by setting the `katex` param to `true`. This will import the necessary Katex CSS/JS. + +**Note:** Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html). + +Some math: + +``` +$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ +``` + +$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ + +More math: + +``` +$$ +\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ +``` + +$$ +\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ diff --git a/exampleSite/content/post/migrate-from-jekyll.md b/exampleSite/content/blog/migrate-from-jekyll.md similarity index 100% rename from exampleSite/content/post/migrate-from-jekyll.md rename to exampleSite/content/blog/migrate-from-jekyll.md diff --git a/exampleSite/content/post/multiple-expandable-test.md b/exampleSite/content/blog/multiple-expandable-test.md similarity index 100% rename from exampleSite/content/post/multiple-expandable-test.md rename to exampleSite/content/blog/multiple-expandable-test.md diff --git a/exampleSite/content/post/nasa-images/earth.jpg b/exampleSite/content/blog/nasa-images/earth.jpg similarity index 100% rename from exampleSite/content/post/nasa-images/earth.jpg rename to exampleSite/content/blog/nasa-images/earth.jpg diff --git a/exampleSite/content/post/nasa-images/index.md b/exampleSite/content/blog/nasa-images/index.md similarity index 100% rename from exampleSite/content/post/nasa-images/index.md rename to exampleSite/content/blog/nasa-images/index.md diff --git a/exampleSite/content/post/nasa-images/moon.jpg b/exampleSite/content/blog/nasa-images/moon.jpg similarity index 100% rename from exampleSite/content/post/nasa-images/moon.jpg rename to exampleSite/content/blog/nasa-images/moon.jpg diff --git a/exampleSite/content/post/nasa-images/sun.jpg b/exampleSite/content/blog/nasa-images/sun.jpg similarity index 100% rename from exampleSite/content/post/nasa-images/sun.jpg rename to exampleSite/content/blog/nasa-images/sun.jpg diff --git a/exampleSite/content/post/quotes-by-carl-jung.md b/exampleSite/content/blog/quotes-by-carl-jung.md similarity index 100% rename from exampleSite/content/post/quotes-by-carl-jung.md rename to exampleSite/content/blog/quotes-by-carl-jung.md diff --git a/exampleSite/content/post/special-character-test.md b/exampleSite/content/blog/special-character-test.md similarity index 100% rename from exampleSite/content/post/special-character-test.md rename to exampleSite/content/blog/special-character-test.md From c8faa5c136d1a57efef0dc91b5a780fb11ce3feb Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 13:57:13 +0000 Subject: [PATCH 10/17] Update config.yaml --- exampleSite/config.yaml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 784e21708..66ffc3664 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -16,7 +16,7 @@ imaging: quality: 99 params: - author: "Your name" + author: "Luis Carlos Sampaio" iconTitle: "My site icon" description: An accessibility-friendly Hugo theme, ported from the [original Cupper](https://github.com/ThePacielloGroup/cupper) project. homeMetaContent: An accessibility-friendly Hugo theme, ported from the original Cupper project. @@ -41,28 +41,14 @@ params: # - css/foo.css # relative path starting from static/ #- css/bar.css social: - twitter: "TwitterName" - gitlab: "GitLabName" - github: "GitHubName" - linkedin: "LinkedinName" - email: "myemail@address.com" - pinterest: "PinterestName" - instagram: "InstagramName" - reddit: "RedditSubreddit" - slackinvite: - name: "technottingham" - code: "enQtNTgxNTYxMTExOTU5LTgxMDVjODUxYWI3MzNjOTJlMWUyMTYxNGEyNzYxNGYxNTExMWU0MmFkYjc5ZjI5MzY4ZmQ3MDdjZjdkNDg0ZDA" - slackworkspace: - name: "technottingham" - facebook: "FacebookName" - tiktok: "TikTokName" - telephone: "0123456789" + github: "https://github.com/Sampaiolc" + linkedin: "https://www.linkedin.com/in/lcsampaio/" + email: "sampaio.lc@hotmail.com" + instagram: "https://www.instagram.com/lost.router/" + facebook: "https://www.facebook.com/lostrouter" misc: - - name: "Discord" - url: "https://www.discord.com/" - icon: "super-tiny-icons/discord.svg" - name: "YouTube" - url: "https://youtube.com" + url: "https://www.youtube.com/channel/UCN9qAoFu6fXtwhs_Z7Gr5Ug" icon: "super-tiny-icons/youtube.html" From 6f578c58f3c9e9423c037b620945b4c4236aee34 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:00:52 +0000 Subject: [PATCH 11/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 66ffc3664..121aca10e 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -41,7 +41,7 @@ params: # - css/foo.css # relative path starting from static/ #- css/bar.css social: - github: "https://github.com/Sampaiolc" + github: "Sampaiolc" linkedin: "https://www.linkedin.com/in/lcsampaio/" email: "sampaio.lc@hotmail.com" instagram: "https://www.instagram.com/lost.router/" From 7004175e6bd62e85f3435ffb42d36e0e3d64c572 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:02:56 +0000 Subject: [PATCH 12/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 121aca10e..34ca11211 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -44,7 +44,7 @@ params: github: "Sampaiolc" linkedin: "https://www.linkedin.com/in/lcsampaio/" email: "sampaio.lc@hotmail.com" - instagram: "https://www.instagram.com/lost.router/" + instagram: "lost.router" facebook: "https://www.facebook.com/lostrouter" misc: - name: "YouTube" From 59a271b5c9639adbe069382fdbf17dbe25f1a961 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:07:46 +0000 Subject: [PATCH 13/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 34ca11211..7946260a5 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -45,7 +45,7 @@ params: linkedin: "https://www.linkedin.com/in/lcsampaio/" email: "sampaio.lc@hotmail.com" instagram: "lost.router" - facebook: "https://www.facebook.com/lostrouter" + facebook: "lostrouter" misc: - name: "YouTube" url: "https://www.youtube.com/channel/UCN9qAoFu6fXtwhs_Z7Gr5Ug" From 125f8e97b58891596b1db1c2226a9ee65922c071 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:08:26 +0000 Subject: [PATCH 14/17] Update config.yaml --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 7946260a5..3f9a227a5 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -42,7 +42,7 @@ params: #- css/bar.css social: github: "Sampaiolc" - linkedin: "https://www.linkedin.com/in/lcsampaio/" + linkedin: "lcsampaio" email: "sampaio.lc@hotmail.com" instagram: "lost.router" facebook: "lostrouter" From a678c1a7a5e45f42998c957aeb03b09096e81d98 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:24:06 +0000 Subject: [PATCH 15/17] Update template-styles.css --- assets/css/template-styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css index 6bcc91cee..72b63c9df 100644 --- a/assets/css/template-styles.css +++ b/assets/css/template-styles.css @@ -410,7 +410,7 @@ caption { .pattern [aria-current] { background-color: #111; clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%); - color: #fefefe; + color: #365a8c; } /* Menu button */ From 4ea7e32457ff855351c4686cff074042624fb659 Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:35:17 +0000 Subject: [PATCH 16/17] change color --- assets/css/template-styles.css | 2 +- data/wcag.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css index 72b63c9df..6bcc91cee 100644 --- a/assets/css/template-styles.css +++ b/assets/css/template-styles.css @@ -410,7 +410,7 @@ caption { .pattern [aria-current] { background-color: #111; clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%); - color: #365a8c; + color: #fefefe; } /* Menu button */ diff --git a/data/wcag.json b/data/wcag.json index 819289821..59b9a080e 100644 --- a/data/wcag.json +++ b/data/wcag.json @@ -297,7 +297,7 @@ "title": "Use of Color", "description": "Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.", "url": "https://www.w3.org/TR/WCAG20/#visual-audio-contrast-without-color", - "level": "A", + "level": "AA", "special_cases": null, "notes": [ { From 653ae86bb6b3e247a324f0e2b67b52b74225df9d Mon Sep 17 00:00:00 2001 From: Luis Carlos Sampaio Date: Mon, 14 Dec 2020 14:40:21 +0000 Subject: [PATCH 17/17] Find 1 --- assets/css/template-styles.css | 2 +- data/wcag.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css index 6bcc91cee..64d5482b2 100644 --- a/assets/css/template-styles.css +++ b/assets/css/template-styles.css @@ -72,7 +72,7 @@ figure p img { [data-expands]:focus svg, .patterns a:focus .text, [for="themer"] :focus + [aria-hidden] { - outline: 4px solid #999; + outline: 4px solid #365a8c; } a { outline-offset: 2px; diff --git a/data/wcag.json b/data/wcag.json index 59b9a080e..819289821 100644 --- a/data/wcag.json +++ b/data/wcag.json @@ -297,7 +297,7 @@ "title": "Use of Color", "description": "Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.", "url": "https://www.w3.org/TR/WCAG20/#visual-audio-contrast-without-color", - "level": "AA", + "level": "A", "special_cases": null, "notes": [ {