From 2336ea86de3140bd3fe25a722f18535c4c7ca1cf Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 5 May 2023 23:48:42 +0400 Subject: Added link check Signed-off-by: Valentin Popov --- .gitlab-ci.yml | 1 + config.toml | 14 ++++++++++++++ content/blog/getting-source-code-of-chromium.md | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a9f0c0..dd967d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,5 +8,6 @@ deploy-job: - master script: + - zola check - zola build - rsync --archive --checksum --delete --verbose ./public/ /var/www \ No newline at end of file diff --git a/config.toml b/config.toml index 3586257..ac26b1e 100644 --- a/config.toml +++ b/config.toml @@ -74,6 +74,20 @@ paths = "on" taxonomies = "on" anchors = "on" +# Configuration of the link checker. +[link_checker] +# Skip link checking for external URLs that start with these prefixes +skip_prefixes = [ + "https://adeptus-mechanicus.blogspot.com/", + "https://adrianhenke.wordpress.com/", +] + +# Treat internal link problems as either "error" or "warn", default is "error" +internal_level = "warn" + +# Treat external link problems as either "error" or "warn", default is "error" +external_level = "warn" + [extra] # Put all your custom variables here diff --git a/content/blog/getting-source-code-of-chromium.md b/content/blog/getting-source-code-of-chromium.md index 8dc98fb..c021aa2 100644 --- a/content/blog/getting-source-code-of-chromium.md +++ b/content/blog/getting-source-code-of-chromium.md @@ -4,7 +4,7 @@ authors = ["Valentin Popov"] date = 2012-01-30 +++ -> Перенос [оригинальной статьи](http://adeptus-mechanicus.blogspot.com/2012/01/chromium-projects.html) 2012 года из моего [старого блога](http://adeptus-mechanicus.blogspot.com/) ([зеркало](https://web.archive.org/web/20160217052148/http://adeptus-mechanicus.blogspot.com/)). +> Перенос [оригинальной статьи](https://adeptus-mechanicus.blogspot.com/2012/01/chromium-projects.html) 2012 года из моего [старого блога](https://adeptus-mechanicus.blogspot.com/) ([зеркало](https://web.archive.org/web/20160217052148/http://adeptus-mechanicus.blogspot.com/)). __Добрый день, уважаемые читатели!__ -- cgit v1.2.3