modify obsidian

hugo
Jacky Zhao 3 years ago
parent e1911a58ff
commit 612c44d719

@ -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!**

@ -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>

Loading…
Cancel
Save