placeholder in front matter, social media links, open source from github
This commit is contained in:
21
themes/basic/layouts/projects/list.html
Normal file
21
themes/basic/layouts/projects/list.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
<section class="projects">
|
||||
<section class="projects">
|
||||
{{ with .Site.GetPage "/opensource.md" }}
|
||||
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ range .Pages }}
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
@@ -12,6 +12,14 @@
|
||||
<section class="project">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
<img alt="{{ .Params.alt_text }}" src="{{ .Params.image }}">
|
||||
|
||||
<h3>Tech used</h3>
|
||||
<ul>
|
||||
{{ range .Params.tech_used }}
|
||||
<li>{{ . }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user