samjtro / z

zettelkasten ctrl panel
GNU General Public License v2.0
0 stars 0 forks source link

generating index.html #1

Open samjtro opened 1 month ago

samjtro commented 1 month ago

currently have a recursive directory walk, but my attempt at manual html generation just isn't really working. i realized that i had previously used the stdlib text/template package in ena.

going to move html generation over to html/template.

samjtro commented 1 month ago

ok so this will be a lot more difficult than the ena template. brainstorming:

<h3>{{.Name}}'s zets</h3>
<ul>
  <li>{{.ZetFolderName}}</li>
    <ul>
      ...
    </ul>
  ...
</ul>
samjtro commented 1 month ago

i went off the rails this weekend, changed a bunch of stuff around, reimplemented the dirwalk from earlier, etc. going to go back through it soon and figure out what i am doing but im close to a functional template - i think.