Skip to content

Commit 04fce04

Browse files
committed
fix(rss): update RSS template and Hugo version for compatibility (#417)
Hugo v0.156.0 removed the deprecated .Site.Author field, breaking the RSS template. Align the RSS template with Hugo's current embedded default by using site.Params.author, transform.XMLEscape, .PublishDate, and proper lastBuildDate computation. Bump CI Hugo version from 0.151.0 to 0.157.0. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> 78818c7
1 parent 283f98d commit 04fce04

File tree

235 files changed

+443
-470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+443
-470
lines changed

authors/dchambre/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3737
<script>
3838
var doNotTrack = false;
39-
if ( false ) {
39+
if ( true ) {
4040
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4141
var doNotTrack = (dnt == "1" || dnt == "yes");
4242
}

authors/fdrees/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3737
<script>
3838
var doNotTrack = false;
39-
if ( false ) {
39+
if ( true ) {
4040
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4141
var doNotTrack = (dnt == "1" || dnt == "yes");
4242
}

authors/gbartolini/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3737
<script>
3838
var doNotTrack = false;
39-
if ( false ) {
39+
if ( true ) {
4040
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4141
var doNotTrack = (dnt == "1" || dnt == "yes");
4242
}

authors/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3737
<script>
3838
var doNotTrack = false;
39-
if ( false ) {
39+
if ( true ) {
4040
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4141
var doNotTrack = (dnt == "1" || dnt == "yes");
4242
}

authors/jgonzalez/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3939
<script>
4040
var doNotTrack = false;
41-
if ( false ) {
41+
if ( true ) {
4242
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4343
var doNotTrack = (dnt == "1" || dnt == "yes");
4444
}

authors/jsilvela/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
3939
<script>
4040
var doNotTrack = false;
41-
if ( false ) {
41+
if ( true ) {
4242
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4343
var doNotTrack = (dnt == "1" || dnt == "yes");
4444
}

authors/leonardoce/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
4141
<script>
4242
var doNotTrack = false;
43-
if ( false ) {
43+
if ( true ) {
4444
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4545
var doNotTrack = (dnt == "1" || dnt == "yes");
4646
}

blog/2025-term3-lfx-cncf-mentorship/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
4444
<script>
4545
var doNotTrack = false;
46-
if ( false ) {
46+
if ( true ) {
4747
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4848
var doNotTrack = (dnt == "1" || dnt == "yes");
4949
}

blog/building-images-bake/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
4545
<script>
4646
var doNotTrack = false;
47-
if ( false ) {
47+
if ( true ) {
4848
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4949
var doNotTrack = (dnt == "1" || dnt == "yes");
5050
}
@@ -195,7 +195,7 @@ <h2 id="ingredients">Ingredients</h2>
195195
<h2 id="instructions">Instructions</h2>
196196
<h3 id="step-1-prepare-local-bake-file">Step 1: Prepare local Bake file</h3>
197197
<p>To build a custom image we add the following content in a local file with name <code>bake.hcl</code>:</p>
198-
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-hcl" data-lang="hcl"><span style="display:flex;"><span>extensions <span style="color:#f92672">=</span> [
198+
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-hcl" data-lang="hcl"><span style="display:flex;"><span>extensions <span style="color:#f92672">=</span> [
199199
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">&#34;pgvector&#34;</span>,
200200
</span></span><span style="display:flex;"><span>]
201201
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">target</span> <span style="color:#e6db74">&#34;myimage&#34;</span> {
@@ -241,7 +241,7 @@ <h3 id="step-1-prepare-local-bake-file">Step 1: Prepare local Bake file</h3>
241241
</ul>
242242
<h3 id="step-2-build-the-image">Step 2: Build the image</h3>
243243
<p>We can now build the image using the following command:</p>
244-
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage
244+
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage
245245
</span></span></code></pre></div><p>This will build the image for the bake matrix we previously created, and will try to push the image to the registry at
246246
<code>localhost:5000</code>, which is the default registry defined for testing environments in the parent Bake file. Let&rsquo;s explain
247247
the full command:</p>
@@ -251,10 +251,10 @@ <h3 id="step-2-build-the-image">Step 2: Build the image</h3>
251251
<code>-f docker-bake.hcl</code> is the remote file in the git repo, that we&rsquo;re using to build the image.</p>
252252
<p>You can explore more about all the content generated and used inside the Bake file by appending the <code>--print</code> flag, as
253253
in the following command:</p>
254-
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage --print
254+
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage --print
255255
</span></span></code></pre></div><h3 id="step-3-push-the-image-to-a-registry">Step 3: Push the image to a registry</h3>
256256
<p>Now you just need to push the image to a registry. You can do this by using the following command:</p>
257-
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>registry<span style="color:#f92672">=</span>your/registry:5000 docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage --push
257+
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>registry<span style="color:#f92672">=</span>your/registry:5000 docker buildx bake -f docker-bake.hcl -f cwd://bake.hcl <span style="color:#e6db74">&#34;https://github.com/cloudnative-pg/postgres-containers.git&#34;</span> myimage --push
258258
</span></span></code></pre></div><p>The previous command will push the images in the following format: <code>your/registry:5000/postgresql-testing:17-standard-bookworm</code>.
259259
Using the <code>--print</code> flag you can explore the full list of tags created that are in the parent Bake file.</p>
260260
<h3 id="step-4-serve-the-image">Step 4: Serve the image</h3>
@@ -281,7 +281,7 @@ <h2 id="making-your-images-for-specific-architectures">Making your images for sp
281281
<p>By default, images are built for both <code>amd64</code> and <code>arm64</code> architectures, which is the recommended setup for most users.
282282
However, if you want to build images only for one specific architecture, saving some space, you can override the
283283
<code>platforms</code> variable in your local Bake file.</p>
284-
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-hcl" data-lang="hcl"><span style="display:flex;"><span>platforms <span style="color:#f92672">=</span> [<span style="color:#e6db74">&#34;linux/amd64&#34;</span>]
284+
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-hcl" data-lang="hcl"><span style="display:flex;"><span>platforms <span style="color:#f92672">=</span> [<span style="color:#e6db74">&#34;linux/amd64&#34;</span>]
285285
</span></span></code></pre></div><p>If you’d like to build everything into your own repository while managing the same tags, that’s also possible.
286286
We may cover that in a future post.</p>
287287

blog/contributor-highlight-daniel-chambre/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SJWWHL48V3"></script>
4545
<script>
4646
var doNotTrack = false;
47-
if ( false ) {
47+
if ( true ) {
4848
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
4949
var doNotTrack = (dnt == "1" || dnt == "yes");
5050
}

0 commit comments

Comments
 (0)