Skip to content

Instantly share code, notes, and snippets.

@fritzlaszlo
fritzlaszlo / bash.sh
Created April 8, 2025 18:16
Mail Debugging Kirby
$ brew install mailpit
$ mailpit
@fritzlaszlo
fritzlaszlo / download-kirby-content-folder.sh
Created March 13, 2025 14:10
A simple bash script to SSH into your server/webspace, zip Kirby's content folder, download to your machine and unzip it.
#!/bin/bash
# Colors for terminal output
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m' # No Color (reset)
# Configuration variables
@fritzlaszlo
fritzlaszlo / notizzettel.yml
Last active February 26, 2025 16:56
kirby/blueprints/fields/notizzettel.yml - resuable field for internal notes per page
label: Notizzettel
type: structure
sortable: false
columns:
user:
width: 1/6
mobile: true
date:
width: 1/6
message:
@fritzlaszlo
fritzlaszlo / globaler-notizzettel.yml
Last active March 20, 2025 16:14
Kirby blueprint für globalen, internen, userbasierten notizzettel als Tab in site.yml
Notizzettel:
label: Notizzettel
icon: page
columns:
main:
sections:
content:
type: fields
label: Felder
fields:
@fritzlaszlo
fritzlaszlo / embed.php
Last active March 13, 2025 14:20
Kirby Block for Embed Code
<?= $block->embed() ?>

Cute Sparkles

These cool and girly glitters come with lots of flowers, hearts, bows and ribbons! These decorations can suit all sorts of happy and soft aesthetic moods ~ ✨(◕▿◕✿)

✧・゚: *✧・゚:*    *:・゚✧*:・゚✧
.・゜゜・  ・゜゜・.
。・゚゚・  ・゚゚・。
༶•┈┈⛧┈♛ ♛┈⛧┈┈•༶
✧༺♥༻∞  ∞༺♥༻✧

*✿❀ ❀✿*

@fritzlaszlo
fritzlaszlo / grid.php
Created May 25, 2020 19:10
kirby row column chunk
<?php foreach ($query->chunk(3) as $chunks): ?>
<div class="row">
<?php foreach($chunks as $posts): ?>
<div class="col-4">
<?= $posts->text()->kirbytextinline() ?>
</div>
<?php endforeach ?>
</div>
<?php endforeach ?>