diff options
-rw-r--r-- | Makefile.example | 11 | ||||
-rw-r--r-- | content/articles/citizenfour.md | 2 | ||||
-rw-r--r-- | content/articles/convertir-un-video-a-formato-gif.md | 2 | ||||
-rw-r--r-- | content/articles/curso-de-instalacion-de-hyperbola.md | 4 | ||||
-rw-r--r-- | content/articles/entrevista-Uruk.md | 4 | ||||
-rw-r--r-- | content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md | 8 | ||||
-rw-r--r-- | content/articles/locutus-de-gnu.md | 2 | ||||
-rw-r--r-- | content/articles/rms-en-dominio-digital.md | 2 | ||||
-rw-r--r-- | content/articles/sin-parar.md | 2 | ||||
-rw-r--r-- | content/pages/acerca-de.md | 8 | ||||
-rw-r--r-- | content/pages/apoyo-economico.en.md | 2 | ||||
-rw-r--r-- | content/pages/apoyo-economico.eo.md | 2 | ||||
-rw-r--r-- | content/pages/apoyo-economico.md | 2 | ||||
-rw-r--r-- | content/pages/contacto.de.md | 2 | ||||
-rw-r--r-- | content/pages/contacto.en.md | 2 | ||||
-rw-r--r-- | content/pages/contacto.eo.md | 2 | ||||
-rw-r--r-- | content/pages/contacto.md | 2 | ||||
-rw-r--r-- | scripts/vendor.sh | 18 |
18 files changed, 26 insertions, 51 deletions
diff --git a/Makefile.example b/Makefile.example index ec1c827..f7d802e 100644 --- a/Makefile.example +++ b/Makefile.example @@ -50,7 +50,7 @@ help: generate: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -html: generate vendor +html: generate clean: [ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR) @@ -79,17 +79,10 @@ else $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) endif -vendor: - @bash $(BASEDIR)/scripts/vendor.sh - -stopserver: - $(BASEDIR)/develop_server.sh stop - @echo 'Stopped Pelican and SimpleHTTPServer processes running in background.' - publishconf: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) -publish: publishconf vendor +publish: publishconf ssh_upload: publish scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) diff --git a/content/articles/citizenfour.md b/content/articles/citizenfour.md index 08bbf5e..b9f091e 100644 --- a/content/articles/citizenfour.md +++ b/content/articles/citizenfour.md @@ -18,7 +18,7 @@ Para sus encuentros, viajó siempre con una cámara. La película resultante es la historia que se desarrolla ante nuestros ojos en este documental. -<video playsinline controls poster='{static}/wp-content/uploads/article/images/2018/09/preview-snowden.jpg'> +<video playsinline controls poster='{filename}/wp-content/uploads/article/images/2018/09/preview-snowden.jpg'> <source src="https://archive.org/download/libreweb/citizenfour-spanish.webm" type="video/webm"/> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> diff --git a/content/articles/convertir-un-video-a-formato-gif.md b/content/articles/convertir-un-video-a-formato-gif.md index 68d5364..191e7d0 100644 --- a/content/articles/convertir-un-video-a-formato-gif.md +++ b/content/articles/convertir-un-video-a-formato-gif.md @@ -10,7 +10,7 @@ Tags: animate, cat animation, convert, ffmpeg, GIF, GNU/Linux, ImageMagick Title: Convertir un vídeo a formato GIF [{.aligncenter .size-full .wp-image-235 width="1000" height="196"}]({static}/wp-content/uploads/article/images/2016/08/cat_animation.gif) +Pygame]({filename}/wp-content/uploads/article/images/2016/08/cat_animation.gif){.aligncenter .size-full .wp-image-235 width="1000" height="196"}]({filename}/wp-content/uploads/article/images/2016/08/cat_animation.gif) Hay muchas formas y programas útiles para hacer esto. Aquí os cuento mi método: diff --git a/content/articles/curso-de-instalacion-de-hyperbola.md b/content/articles/curso-de-instalacion-de-hyperbola.md index 2fe9399..0face79 100644 --- a/content/articles/curso-de-instalacion-de-hyperbola.md +++ b/content/articles/curso-de-instalacion-de-hyperbola.md @@ -13,7 +13,7 @@ una de las distros 100 % libres, el método de Instalación se basa en una guía de instalación, bien abajo se encuentra una lista de 6 vídeos: -<video id="videoplaylist" playsinline controls poster='{static}/wp-content/uploads/article/images/2018/05/curso-hyperbola-1.png'> +<video id="videoplaylist" playsinline controls poster='{filename}/wp-content/uploads/article/images/2018/05/curso-hyperbola-1.png'> <source src="https://archive.org/download/hyperbola-video-1/Hyperbola%20Base%20%2B%20Usuario%201%E2%81%846.webm" type="video/webm"/> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> @@ -58,7 +58,7 @@ de 6 vídeos: >Y, bien hasta aquí ya es posible instalar Hyperbola GNU+Linux-Libre, de manera sencilla. <!-- playlist --> -<script src="{static}/vendor/aplaylist/videoplaylist.js"></script> +<script src="{filename}/vendor/aplaylist/videoplaylist.js"></script> <!-- /playlist --> [hypersite]: https://www.hyperbola.info/ diff --git a/content/articles/entrevista-Uruk.md b/content/articles/entrevista-Uruk.md index b46cd80..7673bd6 100644 --- a/content/articles/entrevista-Uruk.md +++ b/content/articles/entrevista-Uruk.md @@ -82,8 +82,8 @@ distribuciones libres de GNU, pero tarda mucho tiempo, o como dijo mi amigo Ali «mil años [sonrisa]». <figure> - <a href="{static}/wp-content/uploads/article/images/2018/06/Uruk-2.0.captura.png"> - <img src="{static}/wp-content/uploads/article/images/2018/06/Uruk-2.0.captura.png" alt="Uruk" width="1025" height="768"> + <a href="{filename}/wp-content/uploads/article/images/2018/06/Uruk-2.0.captura.png"> + <img src="{filename}/wp-content/uploads/article/images/2018/06/Uruk-2.0.captura.png" alt="Uruk" width="1025" height="768"> </a> <figcaption class="wp-caption-text">Captura de pantalla de Uruk GNU/Linux 2.0</figcaption> diff --git a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md index 6dcb3e4..075a5be 100644 --- a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md +++ b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md @@ -170,15 +170,15 @@ Por ejemplo: ### Capturas de pantalla de Virtual Machine Manager <figure> - <a href="{static}/wp-content/uploads/article/images/2020/05/vm-dragora.png"> - <img src="{static}/wp-content/uploads/article/images/2020/05/vm-dragora.png" alt="Dragora en Virtual Machine Manager"> + <a href="{filename}/wp-content/uploads/article/images/2020/05/vm-dragora.png"> + <img src="{filename}/wp-content/uploads/article/images/2020/05/vm-dragora.png" alt="Dragora en Virtual Machine Manager"> </a> <figcaption>Captura de pantalla de Dragora GNU/Linux en Virtual Machine Manager</figcaption> </figure> <figure> - <a href="{static}/wp-content/uploads/article/images/2020/05/vm-trisquel.png"> - <img src="{static}/wp-content/uploads/article/images/2020/05/vm-trisquel.png" alt="Trisquel en Virtual Machine Manager"> + <a href="{filename}/wp-content/uploads/article/images/2020/05/vm-trisquel.png"> + <img src="{filename}/wp-content/uploads/article/images/2020/05/vm-trisquel.png" alt="Trisquel en Virtual Machine Manager"> </a> <figcaption>Captura de pantalla de Trisquel GNU/Linux en Virtual Machine Manager</figcaption> </figure> diff --git a/content/articles/locutus-de-gnu.md b/content/articles/locutus-de-gnu.md index db22c3b..0fa70f5 100644 --- a/content/articles/locutus-de-gnu.md +++ b/content/articles/locutus-de-gnu.md @@ -14,7 +14,7 @@ muy graciosa. Para entenderla al menos debéis saber qué son el software libre y el software privativo. Espero que os guste. <video playsinline controls - poster="{static}/wp-content/uploads/article/images/2017/02/locutus.png"> + poster="{filename}/wp-content/uploads/article/images/2017/02/locutus.png"> <source src="https://archive.org/download/libreweb/locutus.webm" type="video/webm"> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> diff --git a/content/articles/rms-en-dominio-digital.md b/content/articles/rms-en-dominio-digital.md index 3c0ffa8..67ebae7 100644 --- a/content/articles/rms-en-dominio-digital.md +++ b/content/articles/rms-en-dominio-digital.md @@ -18,7 +18,7 @@ Argentina entre 1996 y 2011. En el año 2018 volvió en formato de radio. Sus integrantes son **Claudio Regis** (Conductor) y **Daniela Gastaminza**, **Alejandro Ponike** y **Daniel "Chacal"** Sentinelli (columnistas). -<video playsinline controls poster='{static}/wp-content/uploads/article/images/2018/06/rms-screen-1.jpg'> +<video playsinline controls poster='{filename}/wp-content/uploads/article/images/2018/06/rms-screen-1.jpg'> <source src="https://archive.org/download/libreweb/StallmanenDominioDigital.webm" type="video/webm"/> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> diff --git a/content/articles/sin-parar.md b/content/articles/sin-parar.md index 64814ca..a86674f 100644 --- a/content/articles/sin-parar.md +++ b/content/articles/sin-parar.md @@ -14,7 +14,7 @@ minuciosamente [...] y que pueda seguir funcionando en todo el mundo sin parar». Así comienza este cortometraje educativo sobre el sistema capitalista. ¿Seguirá funcionando siempre **sin parar**? -<video playsinline controls poster="{static}/wp-content/uploads/article/images/2017/07/poster-video-sin-parar.png"> +<video playsinline controls poster="{filename}/wp-content/uploads/article/images/2017/07/poster-video-sin-parar.png"> <source src="https://archive.org/download/libreweb/sin-parar.webm" type="video/webm"> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> diff --git a/content/pages/acerca-de.md b/content/pages/acerca-de.md index b0aaed1..5e20c1a 100644 --- a/content/pages/acerca-de.md +++ b/content/pages/acerca-de.md @@ -41,11 +41,11 @@ programa tienen las [cuatro libertades esenciales][libertades]: Debido a la evolución de la tecnología y del uso de la red, estas libertades son ahora [aún más importantes que en 1983][more-important]. -<video playsinline controls="controls" poster="{static}/wp-content/uploads/pages/images/2017/03/poster.png"> +<video playsinline controls="controls" poster="{filename}/wp-content/uploads/pages/images/2017/03/poster.png"> <source src="https://audio-video.gnu.org/video/TEDxGE2014_Stallman05_LQ.webm" type="video/webm"> - <track kind="captions" src="{static}/wp-content/uploads/pages/subtitles/2017/03/english.vtt" srclang="en" label="English"> - <track kind="captions" src="{static}/wp-content/uploads/pages/subtitles/2017/03/spanish.vtt" srclang="es" label="Español" default=""> - <track kind="captions" src="{static}/wp-content/uploads/pages/subtitles/2017/03/portuguese.vtt" srclang="pt" label="Portuguese"> + <track kind="captions" src="{filename}/wp-content/uploads/pages/subtitles/2017/03/english.vtt" srclang="en" label="English"> + <track kind="captions" src="{filename}/wp-content/uploads/pages/subtitles/2017/03/spanish.vtt" srclang="es" label="Español" default=""> + <track kind="captions" src="{filename}/wp-content/uploads/pages/subtitles/2017/03/portuguese.vtt" srclang="pt" label="Portuguese"> <p><em>Su navegador no admite la etiqueta video, descargue el video en su lugar.</em></p> </video> diff --git a/content/pages/apoyo-economico.en.md b/content/pages/apoyo-economico.en.md index 41bc38d..9ddec16 100644 --- a/content/pages/apoyo-economico.en.md +++ b/content/pages/apoyo-economico.en.md @@ -17,4 +17,4 @@ You can choose between different donation methods. ## Liberapay -<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Donate" src="{static}/wp-content/uploads/pages/images/donate.svg"></a> +<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Donate" src="{filename}/wp-content/uploads/pages/images/donate.svg"></a> diff --git a/content/pages/apoyo-economico.eo.md b/content/pages/apoyo-economico.eo.md index 000b729..690fb96 100644 --- a/content/pages/apoyo-economico.eo.md +++ b/content/pages/apoyo-economico.eo.md @@ -14,4 +14,4 @@ instigi ĝian ellaboradon kaj plibonigon. ## Liberapay -<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Donaci" src="{static}/wp-content/uploads/pages/images/donaci.svg"></a> +<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Donaci" src="{filename}/wp-content/uploads/pages/images/donaci.svg"></a> diff --git a/content/pages/apoyo-economico.md b/content/pages/apoyo-economico.md index 44df8b5..5d51309 100644 --- a/content/pages/apoyo-economico.md +++ b/content/pages/apoyo-economico.md @@ -16,4 +16,4 @@ Puedes eligir entre diferentes formas de realizar donaciones. ## Liberapay -<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Dona" src="{static}/wp-content/uploads/pages/images/donar.svg"></a> +<a href="https://liberapay.com/ConocimientosLibres/donate" role="button"><img alt="Dona" src="{filename}/wp-content/uploads/pages/images/donar.svg"></a> diff --git a/content/pages/contacto.de.md b/content/pages/contacto.de.md index dbac380..e16a341 100644 --- a/content/pages/contacto.de.md +++ b/content/pages/contacto.de.md @@ -12,5 +12,5 @@ Mein Email ist [heckyel@hyperbola.info](mailto:heckyel@hyperbola.info). Nutz meinen <abbr title="GNU Privacy Guard">GPG</abbr> öffentlichen Schlüssel -([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({static}/heckyel_pub.asc)), +([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({filename}/heckyel_pub.asc)), damit die Nachricht nicht von anderen Personen gelesen werden kann. diff --git a/content/pages/contacto.en.md b/content/pages/contacto.en.md index a0840e0..b6be826 100644 --- a/content/pages/contacto.en.md +++ b/content/pages/contacto.en.md @@ -11,5 +11,5 @@ Title: Contact My email is [heckyel@hyperbola.info](mailto:heckyel@hyperbola.info). Use my <abbr title="GNU Privacy Guard">GPG</abbr> public key -([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({static}/heckyel_pub.asc)) +([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({filename}/heckyel_pub.asc)) so that other people cannot read the message. diff --git a/content/pages/contacto.eo.md b/content/pages/contacto.eo.md index 49f0757..8e518fa 100644 --- a/content/pages/contacto.eo.md +++ b/content/pages/contacto.eo.md @@ -10,5 +10,5 @@ Title: Kontakto Mia retpoŝto estas [heckyel@hyperbola.info](mailto:heckyel@hyperbola.info). Uzu mian <abbr title="GNU Privacy Guard">GPG</abbr> publikan ŝlosilon -([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({static}/heckyel_pub.asc)) +([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({filename}/heckyel_pub.asc)) por ke aliaj personoj ne povus legi la mesaĝon. diff --git a/content/pages/contacto.md b/content/pages/contacto.md index 643bec4..af7c80e 100644 --- a/content/pages/contacto.md +++ b/content/pages/contacto.md @@ -9,5 +9,5 @@ Title: Contacto Mi correo electrónico es [heckyel@hyperbola.info](mailto:heckyel@hyperbola.info). Utiliza mi clave pública <abbr title="GNU Privacy Guard">GPG</abbr> -([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({static}/heckyel_pub.asc)) +([4DF2 1B6A 7C10 21B2 5C36 0914 F6EE 7BC5 9A31 5766]({filename}/heckyel_pub.asc)) para evitar que el mensaje pueda ser leído por otras personas. diff --git a/scripts/vendor.sh b/scripts/vendor.sh deleted file mode 100644 index 1344814..0000000 --- a/scripts/vendor.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -run_vendor() -{ - -local LOCALDIR="${2-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}" -local BASE="${LOCALDIR%scripts}" # input - -rm -rf "$BASE"/output/{de,en,eo,fr}/vendor/ - -echo "$BASE"output/{de,en,eo,fr} | xargs -n 1 cp -rf "$BASE"/output/vendor - -} - -# ============================================================================== -# EXECUTION - START -# ============================================================================== -run_vendor "$@" |