Kevin Mok
5 years ago
6 changed files with 44 additions and 35 deletions
-
30assets/sass/main.scss
-
4content/resume/_index.md
-
5content/resume/printable.txt
-
9ideas.md
-
16layouts/shortcodes/resume/project-site.html
-
15layouts/shortcodes/resume/project.html
@ -1,4 +1,5 @@ |
|||
- bg colors |
|||
- site title max width |
|||
- switch project shortcode |
|||
- rm details top margin |
|||
- details top margin |
|||
- print icon |
|||
- project shortcode |
@ -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> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue