<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Preview on ads' corner</title><link>https://andreas.scherbaum.la/tags/preview/</link><description>Recent content in Preview on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 01 Mar 2024 00:48:24 +0100</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/preview/index.xml" rel="self" type="application/rss+xml"/><item><title>Blockquotes in Hugo</title><link>https://andreas.scherbaum.la/post/2024-03-01_blockquotes-in-hugo/</link><pubDate>Fri, 01 Mar 2024 00:48:24 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2024-03-01_blockquotes-in-hugo/</guid><description>&lt;p&gt;&lt;em&gt;Hugo&lt;/em&gt; uses &lt;a href="https://en.wikipedia.org/wiki/Markdown"&gt;Markdown&lt;/a&gt; to create the content, which is then parsed into &lt;a href="https://en.wikipedia.org/wiki/HTML"&gt;static HTML&lt;/a&gt;. One of the features of &lt;em&gt;Markdown&lt;/em&gt; are quotes, like the following:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Never regret anything that made you smile. — Mark Twain&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;The above quote is a single line quote. Multiline quotes (block quotes) are possible, but they are not very intuitive.&lt;/p&gt;</description></item><item><title>How to integrate YouTube videos into Hugo blog postings</title><link>https://andreas.scherbaum.la/post/2024-02-09_how-to-integrate-youtube-videos-into-hugo-blog-postings/</link><pubDate>Fri, 09 Feb 2024 21:52:05 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2024-02-09_how-to-integrate-youtube-videos-into-hugo-blog-postings/</guid><description>&lt;p&gt;Sometimes you want to integrate a &lt;em&gt;YouTube&lt;/em&gt; video into your blog posting. There are several ways how to do this in &lt;em&gt;Hugo&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Avoid linebreaks in Hugo shortcodes</title><link>https://andreas.scherbaum.la/post/2021-07-16_avoid-linebreaks-in-hugo-shortcodes/</link><pubDate>Fri, 16 Jul 2021 00:10:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2021-07-16_avoid-linebreaks-in-hugo-shortcodes/</guid><description>&lt;p&gt;Shortcodes in &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; are a neat and poweful system to avoid repating the same piece of text over and over again. Let&amp;rsquo;s say I have the following text:&lt;/p&gt;</description></item><item><title>Public previews in Hugo</title><link>https://andreas.scherbaum.la/post/2020-03-14_public-previews-in-hugo/</link><pubDate>Sat, 14 Mar 2020 16:44:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-03-14_public-previews-in-hugo/</guid><description>&lt;p&gt;&lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; is a static templating system. It is (mainly) used to deploy websites/blogs which don&amp;rsquo;t have and need dynamic content. The content of all pages is pre-generated, and the webserver delivers files from disk (or rather from cache, once files are loaded into memory). This approach allows for extremely fast websites, as no dynamic content is generated on every request.&lt;/p&gt;&#10;&lt;p&gt;While I know &lt;em&gt;Hugo&lt;/em&gt; &lt;a href="https://engineering.pivotal.io/"&gt;from work&lt;/a&gt;, I haven&amp;rsquo;t really used it for private projects - until recently. I have started a new project where I present &lt;a href="https://postgresql.life/"&gt;interviews with people&lt;/a&gt; behind the &lt;a href="https://www.postgresql.org/"&gt;PostgreSQL Project&lt;/a&gt; - and this is perfect for a static website. Interviews don&amp;rsquo;t change, once published.&lt;/p&gt;</description></item></channel></rss>