<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Templates on 西安Linux用户组(Xi'an Linux User Group)</title><link>http://xalug.com/tags/templates/</link><description>Recent content in Templates on 西安Linux用户组(Xi'an Linux User Group)</description><generator>Hugo</generator><language>zh</language><copyright>[jqx](https://jqx.me)</copyright><lastBuildDate>Fri, 15 May 2026 11:06:17 +0800</lastBuildDate><atom:link href="http://xalug.com/tags/templates/index.xml" rel="self" type="application/rss+xml"/><item><title>(Hu)go Template Primer</title><link>http://xalug.com/posts/goisforlovers/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>http://xalug.com/posts/goisforlovers/</guid><description>&lt;p&gt;Hugo uses the excellent &lt;a href="https://golang.org/"&gt;Go&lt;/a&gt; &lt;a href="https://golang.org/pkg/html/template/"&gt;html/template&lt;/a&gt; library for
its template engine. It is an extremely lightweight engine that provides a very
small amount of logic. In our experience that it is just the right amount of
logic to be able to create a good static website. If you have used other
template systems from different languages or frameworks you will find a lot of
similarities in Go templates.&lt;/p&gt;
&lt;p&gt;This document is a brief primer on using Go templates. The &lt;a href="https://golang.org/pkg/html/template/"&gt;Go docs&lt;/a&gt;
provide more details.&lt;/p&gt;</description></item></channel></rss>