<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>logic on Regis Philibert</title><link>https://www.regisphilibert.com/tags/logic/</link><description>Recent content in logic on Regis Philibert</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Wed, 19 Jan 2022 09:32:27 +0000</lastBuildDate><atom:link href="https://www.regisphilibert.com/tags/logic/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo and Data: Advanced Transformations</title><link>https://www.regisphilibert.com/blog/2022/01/manipulation-and-logic-advanced-transformations/</link><pubDate>Wed, 19 Jan 2022 09:32:27 +0000</pubDate><guid>https://www.regisphilibert.com/blog/2022/01/manipulation-and-logic-advanced-transformations/</guid><description>Transform! Last time, using famous gents from Britain we covered some data manipulation, but it implied hardcoding of lot of gent&amp;rsquo;s info.
Usually your data comes from a source you lack control of like an API, or a data file or most usually a user managed content file. In this new article about Hugo and Data, we&amp;rsquo;ll cover how you can take data from a limited source (basic Front Matters, API endpoints) and transform it into objects better suited to your project&amp;rsquo;s needs!</description></item><item><title>Hugo and Data: Advance manipulation with Slices and Maps</title><link>https://www.regisphilibert.com/blog/2022/01/manipulation-slices-and-maps/</link><pubDate>Thu, 06 Jan 2022 09:32:27 +0000</pubDate><guid>https://www.regisphilibert.com/blog/2022/01/manipulation-slices-and-maps/</guid><description>Building or manipulating data to one&amp;rsquo;s need from a raw source &amp;mdash; like an API endpoint or a Markdown file &amp;mdash; is not often discussed in the Hugo community and may seem daunting for many users.
Yet masterting data with Hugo can prove critical especially when building pages from a remote source!
How can Hugo and Go Template turn your massive wall of JSON or an editor friendly Front Matter into just what your HTML needs?</description></item><item><title>Hugo and Data: The Basics</title><link>https://www.regisphilibert.com/blog/2022/01/manipulation-and-logic-the-basics/</link><pubDate>Sun, 02 Jan 2022 09:32:27 +0000</pubDate><guid>https://www.regisphilibert.com/blog/2022/01/manipulation-and-logic-the-basics/</guid><description>Hugo is built with Go but as users, we only get to modify template files using Go&amp;rsquo;s templating language: Go Template. Go Template concepts are different than its more commonly used counterparts and can be intimidating for new comers.
This article addresses the basics of the language, along with some critical functions Hugo offers to complement it. If you&amp;rsquo;re starting your Hugo journey, or simply feel like several concept remains obscure to you after years of Hugo, this useful recap is for you!</description></item></channel></rss>