Recursive directory listing for Hugo

How to program a recursive directory listing …as a shortcode for Hugo. I came across the idea to create a summary page showing all files which are stored in a directiory down below Hugo’s /static folder. Here is a brief description of how such a shortcode could be implemented. Continue reading...

Font selection dialog

Font chooser / font selection dialog This is a support package for tcl/tk which implements another kind of font selection dialog (or so called font chooser dialog). Although there are many similar font selection dialogs available, I always wanted to create a dialog which allows to choose a font in a most easy and efficient may. Continue reading...

Tag Cloud for Hugo

Tag & Categories Cloud for Hugo Tags and categories are a great choice for organizing content. In this post I’d like to show how to layout & program a tag cloud for hugo, a static site generator. When creating a new article in the content folder, dont’t miss to enter the “tags” and “categories” taxonomy information. Continue reading...

Leverage page bundles in Hugo

Page Bundles in Hugo Page bundles are available in hugo (a static web site site generator which is great fun) for quite a while now. I always wanted to store files (assets and images, etc…) which belongs to an article in the same directory as the article itself - or at least in a sibling directory down below the content tree. Continue reading...

Fun with mermaid js

Mermaidjs - Markdownish syntax for generating flowcharts … What is Mermaidjs ? Mermaid is a simple markdown-like script language for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs from text via javascript. Keywords: Simplify documentation and avoid heavy tools. Continue reading...

Fun With Animated Background Images

Fun with animation… An animated effect can be easily achived with a jquery based script and with 2 more images. The image in front might be a png image with transparent areas, whereas the background image could be a jpg image just showing some colored pattern. Continue reading...

Tcl/tk savedefault package

Tcl/tk savedefault package Purpose: This is probably one of my very first utility package I wrote. So, when attempting to create and design a (hopefully) user friendly graphical user interface (GUI), quite early, the first questions that need to be adressed are: Continue reading...

Tcl/TK - Starter package

Programming in Tcl/TK - Starter package What is Tcl/TK ? Tcl/TK (Tool Command Language) is a very powerful but easy-to-learn dynamic and open source programming language. The motivation for this article is to give a beginner, who wants to learn the language some usefull information and as well a “starter package” which includes the required software to start with (see download link below). Continue reading...

Tcl/tk screenshot widget

Tcl/tk screenshot widget Purpose: A TclOO class which implements a screen shot widget capable to capture any portion of the screen area. The screenshot functionality not only works “internally” inside tk widgets like for example the image create photo -format window -data $mywidget command, it can be used as a generic screen capture function. Continue reading...

Tcl/tk html3widget

html3widget - a tcl/tk megawidget Purpose: The html3widget is a tcl/tk package which implements a megawidget to render html + css. The code is based on Tkhtml3.0 and as well HV3 which (for the moment) is not actively developed, but still offers a solid base to render html including css support. Continue reading...