diff --git a/package.json b/package.json index a3a387a..e4935e9 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "build": "tsc -p .", "start": "NODE_PATH=./dist node dist/index.js", "buildandpush": "docker buildx build --push --platform=linux/amd64,linux/arm64 -t git.fai.st/bizcochito/bizcochito.onion .", - "deploy": "npm run buildandpush && sleep 3 && kubectl rollout restart deploy/web -n web" + "deploy": "npm run buildandpush && sleep 3 && kubectl rollout restart deploy/web -n web", + "dev": "npm run build && npm run start" } } diff --git a/templates/imagelist.njk b/templates/imagelist.njk index 1c7734d..2a97c63 100644 --- a/templates/imagelist.njk +++ b/templates/imagelist.njk @@ -1,7 +1,7 @@ -{% macro images_list(image_list, height=31) %} +{% macro images_list(image_list, height=31, url=false) %}
{% for image in image_list %} - + {% from "imagelist.njk" import images_list as il2 %} - {{ il2(image("gif"), height=50 ) }} + {{ il2(image("gif") , height=50 ) }}

Frens

{% from "imagelist.njk" import images_list as il3 %} - {{ il3(image("8831") ) }} + {{ il3(image("8831") , url=true ) }}

Another banner that is unused