From 54b297bc30a79db9d81f9498ef9d7617d74a2e5d Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Thu, 30 Nov 2017 03:49:39 +0100 Subject: [PATCH] WIP --- .eslintrc | 2 +- .gitignore | 2 +- .pre-commit-config.yaml | 4 ++-- templates/disqus_count.html | 2 +- test_ludochaordic.sh | 3 +++ 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.eslintrc b/.eslintrc index 3f0e627..2c3c0fd 100755 --- a/.eslintrc +++ b/.eslintrc @@ -8,4 +8,4 @@ "rules": { "no-undefined": 0 } -} \ No newline at end of file +} diff --git a/.gitignore b/.gitignore index 1ed6d70..a14da60 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /node_modules -*~~ \ No newline at end of file +*~~ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 209434b..fdfdb9b 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,8 +3,8 @@ hooks: - id: check-merge-conflict - id: trailing-whitespace - args: - - --no-markdown-linebreak-ext + args: [--no-markdown-linebreak-ext] + exclude: ^static/(css|js) - repo: git://github.com/Lucas-C/pre-commit-hooks sha: v1.1.4 hooks: diff --git a/templates/disqus_count.html b/templates/disqus_count.html index aa50c33..05a40d8 100644 --- a/templates/disqus_count.html +++ b/templates/disqus_count.html @@ -11,4 +11,4 @@ var disqus_shortname = '{{ DISQUS_SITENAME }}'; // required: replace example wit (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); -{% endif %} \ No newline at end of file +{% endif %} diff --git a/test_ludochaordic.sh b/test_ludochaordic.sh index 5f8652d..b6ef0fc 100755 --- a/test_ludochaordic.sh +++ b/test_ludochaordic.sh @@ -12,6 +12,9 @@ cd ludochaordic pip install pelican markdown beautifulsoup4 pillow make DEBUG=1 OUTPUTDIR=output html +# crash HERE because of missing imgs -> TODO: +# - ./list_imgs_from_mds.py *.md -> currently incaple to extract img from content/2015-07-24-youtube_playlist_watcher +# - create dummy jpg / png / gif files for each csslint --ignore=order-alphabetical output/theme/css/main.css