From 24a864807ff08382cb85bd2217ecf7cd676d73c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 12 Oct 2023 12:16:48 +0200 Subject: [PATCH] Check links with Lychee (#14) * Check links with Lychee * Update keep-it-simple-stupid.md * Create .lycheeignore * Update .lycheeignore * Update .lycheeignore * Update markdown.yml --- .github/workflows/markdown.yml | 16 ++++++++++++++++ .lycheeignore | 3 +++ src/posts/keep-it-simple-stupid.md | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .lycheeignore diff --git a/.github/workflows/markdown.yml b/.github/workflows/markdown.yml index 6ae7259..8be3142 100644 --- a/.github/workflows/markdown.yml +++ b/.github/workflows/markdown.yml @@ -36,3 +36,19 @@ jobs: uses: "DavidAnson/markdownlint-cli2-action@v9" with: globs: "**/*.md" + + links: + name: "Links" + runs-on: "ubuntu-22.04" + timeout-minutes: 10 + steps: + - + name: "Checkout repository" + uses: "actions/checkout@v4" + - + name: "Run Lychee" + uses: "lycheeverse/lychee-action@v1.8.0" + with: + args: "--verbose --no-progress --require-https './**/*.md'" + output: "${{ runner.temp }}/lychee/out.md" + fail: true diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 0000000..692786c --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,3 @@ +/%7B%7B +^https://www\.skillshare\.com/ +^https://twitter\.com/ diff --git a/src/posts/keep-it-simple-stupid.md b/src/posts/keep-it-simple-stupid.md index e00676d..b506c75 100644 --- a/src/posts/keep-it-simple-stupid.md +++ b/src/posts/keep-it-simple-stupid.md @@ -10,7 +10,7 @@ github: 'https://github.com/conedevelopment/bite-sized-a11y/blob/master/src/post In my opinion, accessibility is an area that rewards simplicity the best. On the web, you can solve the same thing in many ways. If you design with [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/), you will have an opinionated guide to form your creative thinking. -In many scenarios, you can choose to create a straightforward solution. Leave a carousel from your design and use a simple grid, eliminating the JS dependency and complexity. Usually, what is simple - in an HTML way - is accessible. +In many scenarios, you can choose to create a straightforward solution. Leave a carousel out of your design and use a simple grid, eliminating the JS dependency and complexity. Usually, what is simple - in an HTML way - is accessible. The [Motherfucking Website](https://motherfuckingwebsite.com/) is an excellent example of this methodology called [KISS](https://en.wikipedia.org/wiki/KISS_principle). It is an example site that shows how complex today’s web development can sometimes be because of us.