Add projects content
This commit is contained in:
19
themes/kosmos-22/layouts/partials/projects.html
Normal file
19
themes/kosmos-22/layouts/partials/projects.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ range site.Data.projects }}
|
||||
<h2>{{ .name }}</h2>
|
||||
<p>{{ .description | markdownify }}</p>
|
||||
<p class="text-discreet">
|
||||
<strong>Status:</strong> {{ .status | markdownify }}
|
||||
</p>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
{{ range .links }}
|
||||
<div>
|
||||
<h3 class="mb-4 text-sm uppercase text-zinc-500">{{ .section }}</h3>
|
||||
<ul class="list-disc list-inside leading-relaxed">
|
||||
{{ range .items }}
|
||||
<li><a href="{{ .url }}">{{ .title | markdownify }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -4,7 +4,7 @@
|
||||
{{ range .items }}
|
||||
<li>
|
||||
<h4 class="text-lg font-bold mb-2">
|
||||
<a href="{{ .url }}" class="border-b border-zinc-400">{{ .name }}</a>
|
||||
<a href="{{ .url }}" class="!text-black">{{ .name }}</a>
|
||||
</h4>
|
||||
<p>{{ .description }}</p>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user