<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ciigo, branch v0.13.0</title>
<subtitle>Static web server with AsciiDoc and Markdown.</subtitle>
<id>http://git.kilabit.info/ciigo/atom?h=v0.13.0</id>
<link rel='self' href='http://git.kilabit.info/ciigo/atom?h=v0.13.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/'/>
<updated>2024-05-12T09:32:39Z</updated>
<entry>
<title>Release ciigo v0.13.0 (2024-05-12)</title>
<updated>2024-05-12T09:32:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T08:41:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=9d9185934024b1c82ee4d1bc43a88cbe09465361'/>
<id>urn:sha1:9d9185934024b1c82ee4d1bc43a88cbe09465361</id>
<content type='text'>
=== New features

* cmd/ciigo: add flag to set package and variable name for "embed"

  The flag "-package-name" can be used to changes the default package
  name inside the Go embed file. The flag "-var-name" can be used to
  changes the default memfs variable name inside the Go embed file.

=== Enhancements

* all: fix HTML files always generated when HTMLTemplate is not set

  If the path to HTMLTemplate option is not set, GoEmbed should convert
  to HTML only if markup file is newer than HTML file or when HTML file
  not exist.

* all: initialize memfs using New

  When memfs not initialized using New, the [memfs.MemFS.PathNodes]
  will be nil. This cause any Get on new file will return 404.
</content>
</entry>
<entry>
<title>_AUR: update PKGBUILD for testing makepkg in local</title>
<updated>2024-05-12T09:32:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T09:32:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=8ec4ae80bccd318c4970cd5bdf7d471acaa7ff2c'/>
<id>urn:sha1:8ec4ae80bccd318c4970cd5bdf7d471acaa7ff2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: add and fix SPDX header on adoc files</title>
<updated>2024-05-12T09:22:48Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T07:41:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=b6896e45782a2dd6140d3a2dbde92351ea8bda0d'/>
<id>urn:sha1:b6896e45782a2dd6140d3a2dbde92351ea8bda0d</id>
<content type='text'>
Putting SPDX headers at the bottom cause the "reuse lint" detect the file
have no copyright and license information.
</content>
</entry>
<entry>
<title>all: set the test output for GoEmbed without modification time</title>
<updated>2024-05-12T09:22:48Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T07:39:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=c68cd8c3296742c03902ee3f30d2492ac812e977'/>
<id>urn:sha1:c68cd8c3296742c03902ee3f30d2492ac812e977</id>
<content type='text'>
This is to make the go embed output consistent when this repository
cloned for the first time, due the file modtime is newer on each
"git clone".
</content>
</entry>
<entry>
<title>_example: fix SPDX header on template file</title>
<updated>2024-05-12T07:37:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T07:37:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=3e0b5884cea29fd3a12b85a117f534914c335529'/>
<id>urn:sha1:3e0b5884cea29fd3a12b85a117f534914c335529</id>
<content type='text'>
The comment for HTML should end with "--&gt;" not "--!&gt;".
While at it, set embedded Go file store the file without modification time
to make the output (cmd/ciigo-example/static.go) does not changes on new
clone.
</content>
</entry>
<entry>
<title>all: initialize memfs using New</title>
<updated>2024-05-12T07:33:07Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-12T07:33:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=d5542dc8956c5d084817b60ed7451870c7175865'/>
<id>urn:sha1:d5542dc8956c5d084817b60ed7451870c7175865</id>
<content type='text'>
When memfs not initialized using New, the [memfs.MemFS.PathNodes] will
be nil.
This cause any Get on new file will return 404.
</content>
</entry>
<entry>
<title>all: update module pakakeh.go to latest release</title>
<updated>2024-05-09T18:18:00Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-05-09T18:18:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=d71ceabc9c65014be2de9877e351b952231a49e3'/>
<id>urn:sha1:d71ceabc9c65014be2de9877e351b952231a49e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd/ciigo: add flag to set package and variable name for "embed"</title>
<updated>2024-04-10T18:35:58Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-10T18:35:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=7e89b8cac03c30280b3f323a2eaf5eb613f15e02'/>
<id>urn:sha1:7e89b8cac03c30280b3f323a2eaf5eb613f15e02</id>
<content type='text'>
The flag "-package-name" can be used to changes the default package name
inside the Go embed file.
The flag "-var-name" can be used to changes the default memfs variable
name inside the Go embed file.
</content>
</entry>
<entry>
<title>all: fix HTML files always generated when HTMLTemplate is not set</title>
<updated>2024-04-10T18:34:11Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-10T18:33:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=9beac0837d5284212728b7556165110344ef5773'/>
<id>urn:sha1:9beac0837d5284212728b7556165110344ef5773</id>
<content type='text'>
If the path to HTMLTemplate option is not set, GoEmbed should convert
to HTML only if markup file is newer than HTML file or when HTML file
not exist.
</content>
</entry>
<entry>
<title>cmd/ciigo: instantiate variable on switch cases</title>
<updated>2024-04-10T16:45:11Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-10T16:45:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/ciigo/commit/?id=f9b75247b24c1e4a33449065ee35aef50ccfa115'/>
<id>urn:sha1:f9b75247b24c1e4a33449065ee35aef50ccfa115</id>
<content type='text'>
Instead of creating variables on top of switch, only declare them when
needed.
</content>
</entry>
</feed>
