Merge branch 'drafts'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||
<div class="project-details">
|
||||
{{ .Inner | markdownify }}
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
13
layouts/shortcodes/resume/project-print.html
Normal file
13
layouts/shortcodes/resume/project-print.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="project">
|
||||
<h2 class="project-title">
|
||||
<a href="{{ .Get "url" }}" target="_blank">
|
||||
{{ .Get "name" }}
|
||||
</a>
|
||||
</h2>
|
||||
<div class="date">{{ .Get "date" }}</div>
|
||||
<div class="collapse show" id="details-{{ .Get "name" | lower | urlize }}">
|
||||
<div>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
16
layouts/shortcodes/resume/project.html
Normal file
16
layouts/shortcodes/resume/project.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="project">
|
||||
<a class="project-link" href="{{ .Get "url" }}" target="_blank">
|
||||
<img src="{{ "img/link.svg" | relURL }}" alt="link-icon">
|
||||
</a>
|
||||
<button class="btn" type="button" data-toggle="collapse"
|
||||
data-target="#{{ .Get "name" | lower | urlize }}-details"
|
||||
aria-expanded="false" aria-controls="{{ .Get "name" | lower | urlize }}-details">
|
||||
<h2 class="project-title">{{ .Get "name" }} ⏷</h2>
|
||||
</button>
|
||||
<div class="date">{{ .Get "date" }}</div>
|
||||
<div class="collapse{{ with .Get "show" }} show{{ end }}" id="{{ .Get "name" | lower | urlize }}-details">
|
||||
<div>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<div id="{{ .Get 0 }}">
|
||||
<h1 class="section-header">{{ .Get 0 | title }}</h1>
|
||||
{{ .Inner }}
|
||||
{{ .Inner | markdownify }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user