Universeller Copy Teilen Button in Hugo PaperMod

Hugo Konfiguration In deiner hugo.yaml muss der Parameter ShowShareButtons unter params: auf true gesetzt sein: params: ... ShowShareButtons: true ... Template vorbereiten Kopiere die Datei themes/PaperMod/layouts/partials/share_icons.html in dein Projektverzeichnis: layouts/partials/share_icons.html. So überschreibst du die Theme-Datei, ohne sie direkt zu verändern. Copy Button Dieser Button kopiert einen Post in den Zwischenspeicher, der so aussieht: # Die Populismusfalle: Warum Logik gegen Populismus versagt https://hyperblog.de/hoergen/posts/2026/2026-08-09-die-populismusfalle/ #demhoergen #hyperblog #Linux #hugo #Fedivers #blog #Friendica #Mastodon Die Bestätigung eines Populisten zu suchen, ist die höchste Form der Dummheit. Ansätze wie man mit Populisten umgehen kann. Im Kopf der Definition können noch eigene Hashtags hinzugefügt werden. Dort wo hier im Beispiel “#demhoergen #hyperblog” steht. ...

30.08.2026 · hoergen

Shortcodes für Hugo & Papermod

Shortcodes Hugo and PaperMod Below is a combined, alphabetical list of common shortcodes from both sources, with (Hugo) for Hugo and (CustP) for Custom PaperMod. before - Creates the ‘before’ panel in a side-by-side comparison (CustP) . callout - Creates a highlighted aside with types like info, warning, tip, note, or success (CustP) . compare - Wraps a before/after comparison block for side-by-side visuals (CustP) . details - Inserts an HTML <details> element for a collapsible content block (Hugo) . figure - Inserts an HTML <figure> element with advanced image placement and caption options (Hugo) . gist - Embeds a GitHub Gist (Hugo) . highlight - Displays syntax-highlighted code with configurable options (Hugo) . image - Processes and embeds images with attributes like width and alt text (CustP) . instagram - Embeds an Instagram post (Hugo) . param - Inserts a parameter value from front matter or site configuration (Hugo) . pullquote - Displays a large-format quote for emphasis (CustP) . qr - Generates a QR code image from a provided string (Hugo) . ref - Creates a canonical (absolute) permalink to another page (Hugo) . relref - Creates a relative permalink to another page (Hugo) . stat - Displays a single metric tile with a number and label (CustP) . stats - Wraps a group of stat tiles in a flex container (CustP) . step - Creates a single numbered step within a steps block (CustP) . steps - Wraps a sequence of step shortcodes for auto-numbered procedures (CustP) . vimeo - Embeds a Vimeo video player (Hugo) . x - Embeds an X (formerly Twitter) post (Hugo) . youtube - Embeds a YouTube video player (Hugo) . ...

10.08.2026 · hoergen

Frontmatter Parameter für Hugo & Papermod

Hugo & PaperMod Front Matter Parameters (Alphabetical) aliases - Array of old paths to redirect to this page (H) . audio - Array of audio file paths for opengraph metadata (H) . cascade - Front matter keys passed down to descendants (H) . cover - Cover image settings with image, alt, caption, relative, responsiveImages (P) . date - Page publication datetime (H) . description - Description for SEO and summaries (H) . draft - If true, page not rendered without –buildDrafts (H) . excludeFromRSS - Excludes this page from RSS feed (P) . expiryDate - Content expires after this datetime (H) . headless - If true, sets leaf bundle to headless (H) . images - Array of image paths for opengraph/twitter cards (H) . isCJKLanguage - If true, treats content as CJK for word count (H) . keywords - Array of meta keywords for SEO (H) . lastmod - Last modification datetime (H) . layout - Specific template name to override lookup order (H) . linkTitle - Shorter version of title for links (H) . markup - Content format renderer (md or rst) (H) . menu - Adds page to specified menu(s) (H) . outputs - Array of output formats to render (H) . params - Map of custom page parameters (H) . publishDate - Future publication date (requires –buildFuture) (H) . resources - Array of metadata for page resources (H) . series - Array of series this page belongs to (H) . ShowBreadCrumbs - Shows breadcrumb navigation on the page (P) . ShowCodeCopyButtons - Shows copy buttons on code blocks (P) . ShowFullTextinRSS - Includes full content in RSS feed (P) . ShowPostNavLinks - Shows previous/next post navigation at bottom (P) . ShowReadingTime - Shows estimated reading time (P) . ShowShareButtons - Shows social share buttons (P) . ShowToc - Shows table of contents (P) . sitemap - Map of sitemap options (H) . sites - Map for sites matrix and complements (v0.153.0+) (H) . slug - Overrides last segment of URL path (H) . summary - Custom summary text for teasers (H) . title - Page title (H) . TocOpen - If true, table of contents is expanded by default (P) . translationKey - Arbitrary value to relate translations (H) . type - Overrides content type derived from section (H) . url - Complete custom URL path (H) . weight - Controls sorting order (lower numbers first) (P) . ...

10.08.2026 · hoergen