Skip to main content
  1. posts/

Once again, migrating my blog: Using and Learning Hugo and Blowfish

· ·
hugo productivity
Fracisco Sanabria
Author
Fracisco Sanabria
Site Reliability Engineer, Digital Artist and tech enthusiast.
Table of Contents
Building my Digital Garden - This article is part of a series.

Few days ago I decided to move from Vercel to Cloudflare, since I’m starting to use some network services that Cloudflare offers, such as Cloudflare Tunnels for my Kubernetes homelab clusters.

Blowfish Shortcodes
#

Hasta hace poco aprendí lo que eran los shortcodes en Hugo, y me parecieron una herramienta muy útil. Los shortcodes son fragmentos de código que se pueden insertar en los archivos Markdown para generar contenido de manera más rápida y sencilla. De aquí radica el peso de la utilidad de Hugo.

Warning! This action is destructive!
{{ $url := .Get "url"}}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
{{ end }}

Ojo a este timeline, que viene exclusivamente usando Blowfish:

  1. header

    badge test

    subheader

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non magna ex. Donec sollicitudin ut lorem quis lobortis. Nam ac ipsum libero. Sed a ex eget ipsum tincidunt venenatis quis sed nisl. Pellentesque sed urna vel odio consequat tincidunt id ut purus. Nam sollicitudin est sed dui interdum rhoncus.
  2. Another Awesome Header

    date - present

    Awesome Subheader

    With html code
    • Coffee
    • Tea
    • Milk
Building my Digital Garden - This article is part of a series.