modify obsidian

This commit is contained in:
Jacky Zhao 2021-12-27 17:34:53 -05:00
parent 8b1cc8ffc1
commit 2e7801d20b
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ Under Options > Files and Links, set the New link format to always be Absolute P
![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*
## Templates
Inserting front matter everytime you want to create a new Note gets really annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.
Inserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.
**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**

View File

@ -15,7 +15,7 @@
<article>
<h1>All {{.Title}}</h1>
<ul class="section-ul">
{{- range .Pages -}}
{{- range .Pages.ByLastmod -}}
<li class="section-li">
<div class="section">
<div class="desc">
@ -23,7 +23,7 @@
<p>{{- .Summary -}}{{if .Truncated}}...{{end}}</p>
</div>
<p class="meta">
{{ .ReadingTime }} minute read
{{ .ReadingTime }} minute read, Last updated {{ .Lastmod.Format "January 2, 2006" }}
</p>
</div>
</li>