diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ee7e61a43e0a35882ae36bac06fa531e99c86ec..0751a09415b33de393c55b2749f7ea8446c29929 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ variables:
 pages:
   stage: deploy
   before_script:
-  - pip install Markdown gitpython pelican
+  - pip install Markdown gitpython pelican py_w3c
   script:
   - make publish
   artifacts:
diff --git a/publishconf.py b/publishconf.py
index 67d48c91197c1ed5a011c2f954b2995297742a67..c1aee758d666e8103461ed0533a72adc894e9f0d 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -16,6 +16,8 @@ CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
 
 DELETE_OUTPUT_DIRECTORY = True
 
+PLUGINS += ["w3c_validate"]
+
 # Following items are often useful when publishing
 
 #DISQUS_SITENAME = ""