From b975940a8e1a83cddca06eea77f229e32ba1d25f Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Thu, 9 Nov 2023 22:43:30 +0100 Subject: [PATCH] Beta test Flex v3. --- Makefile | 12 +-- content/pages/bookmarks.md | 3 +- templates/base.html | 197 ------------------------------------- 3 files changed, 8 insertions(+), 204 deletions(-) delete mode 100644 templates/base.html diff --git a/Makefile b/Makefile index 2b51526..4231b18 100644 --- a/Makefile +++ b/Makefile @@ -41,19 +41,19 @@ help: @echo 'Set the RELATIVE variable to 1 to enable relative urls ' @echo ' ' -Flex/.git/config: - git clone --depth 1 https://github.com/alexandrevicenzi/Flex +Flex: + git clone --branch v3 https://github.com/alexandrevicenzi/Flex -pelican-plugins/.git/config: +pelican-plugins: git clone --depth 1 https://github.com/getpelican/pelican-plugins -html: Flex/.git/config pelican-plugins/.git/config +html: Flex pelican-plugins $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) clean: [ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR) -regenerate: Flex/.git/config pelican-plugins/.git/config +regenerate: Flex pelican-plugins $(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) serve: @@ -78,7 +78,7 @@ else $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) endif -publish: Flex/.git/config pelican-plugins/.git/config +publish: Flex pelican-plugins $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) rsync_upload: publish diff --git a/content/pages/bookmarks.md b/content/pages/bookmarks.md index 3655869..47fead6 100644 --- a/content/pages/bookmarks.md +++ b/content/pages/bookmarks.md @@ -101,6 +101,7 @@ Title: Bookmarks - [MOOC de l'ANSSI](https://secnumacademie.gouv.fr/) - [Root KSK ceremony](https://www.youtube.com/watch?v=erfsFJsapAs) - [ChopChop is a CLI to help developers scanning endpoints and identifying exposition of sensitive services/files/folders.](https://github.com/michelin/ChopChop) +- [ffuf, Fast web fuzzer written in Go (program)](https://packages.debian.org/trixie/ffuf) - [Inject javascript into a PDF file](https://github.com/cornerpirate/JS2PDFInjector) - [JSFuck is an esoteric and educational programming style based on the atomic parts of JavaScript.](http://www.jsfuck.com/) - [PDF Tools](https://blog.didierstevens.com/programs/pdf-tools/) @@ -322,7 +323,7 @@ Or from command line with a postgresql client: - [flacon — minimalist REST and app backend framework for Python developers](https://github.com/falconry/falcon) - [Check MANIFEST.in in a Python source package for completeness](https://pypi.org/project/check-manifest/) - [Unit testing Jupyter Notebooks](https://github.com/nteract/testbook) -- [Why do numbering should start at 0](https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html) +- [Why do numbering should start at 0 (range)](https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html) - [Instructor notes for COMP 3321](https://nsa.sfo2.digitaloceanspaces.com/comp3321.pdf) - [Scalene — Python profiling: memory and CPU](https://github.com/emeryberger/scalene) - [Sampling profiler for Python programs](https://github.com/benfred/py-spy) diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 96eb177..0000000 --- a/templates/base.html +++ /dev/null @@ -1,197 +0,0 @@ -{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions %} - {%- macro _(msg) -%} - {{ msg % kwargs }} - {%- endmacro -%} -{% endif %} - - - - - - - - - {% if page in hidden_pages %} - - {% else %} - - {% endif %} - - {% if USE_GOOGLE_FONTS != False %} - - {% endif %} - - {% if USE_LESS %} - - - {% else %} - - {% endif %} - - {# DARK THEME STYLES #} - {% if THEME_COLOR == "dark" or THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE or THEME_COLOR_ENABLE_USER_OVERRIDE %} - - {% endif %} - - {# PYGMENTS STYLES #} - {% if THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE or THEME_COLOR_ENABLE_USER_OVERRIDE or THEME_COLOR == "dark" %} - - {% endif %} - {% if THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE or not THEME_COLOR or THEME_COLOR == "light" %} - - {% endif %} - - {% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %} - {% if USE_GOOGLE_FONTS != False %} - - {% endif %} - - {% endif %} - - {% if 'pelican.plugins.search' in PLUGINS %} - - {% endif %} - - - - - - {% if CUSTOM_CSS %} - - {% endif %} - - {% include "partial/icon.html" %} - - {% include "partial/color.html" %} - - {% include "partial/feed.html" %} - - {% include "partial/ga.html" %} - {% include "partial/ggst.html" %} - - - {% include "partial/plausible.html" %} - - {% if PGP_KEY %} - - {% endif %} - - {% if WEBMENTION_URL %} - - {% endif %} - - {% if PINGBACK_URL %} - - {% endif %} - - {% if not PLUGINS or 'seo' not in PLUGINS %} - {% if REL_CANONICAL %} - {% if page %} - - {% elif article %} - - {% elif page_name == 'index' and not articles_previous_page %} - - {% elif author or category or tag or page_name == 'index' %} - - {% else %} - - {% endif %} - {% endif %} - {% endif %} - - {% block meta %} - - - {% include "partial/og.html" %} - {% endblock %} - - {{ SITENAME }}{% block title %}{% endblock %} - - {% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.page_level_ads %} - - - {% endif %} - - {% include "partial/gtm.html" %} - {% include "partial/clarity.html" %} - - - {% include "partial/gtm_noscript.html" %} - - {% include "partial/sidebar.html" %} - -
- {% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.main_menu %} - - - - {% endif %} - - {% include "partial/nav.html" %} - - {% block content %} - {% endblock %} - - {% include "partial/footer.html" %} -
- - {% include "partial/jsonld.html" %} - {% include "partial/guages.html" %} - {% include "partial/addthis.html" %} - {% include "partial/matomo.html" %} - {% include 'partial/github.html' %} - {% include 'partial/stork.html' %} - - {% block additional_js %}{% endblock %} - - - -