aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-05-05 22:48:42 +0300
committerValentin Popov <valentin@popov.link>2023-05-05 22:48:42 +0300
commit2336ea86de3140bd3fe25a722f18535c4c7ca1cf (patch)
tree170ab4847a255986427a8d1661fedd5b3ec598c3
parent79fda780b4423b716e60cdd274783d43ed62e137 (diff)
downloadpopov.link-2336ea86de3140bd3fe25a722f18535c4c7ca1cf.tar.xz
popov.link-2336ea86de3140bd3fe25a722f18535c4c7ca1cf.zip
Added link check
Signed-off-by: Valentin Popov <valentin@popov.link>
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--config.toml14
-rw-r--r--content/blog/getting-source-code-of-chromium.md2
3 files changed, 16 insertions, 1 deletions
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/)).
__Добрый день, уважаемые читатели!__