mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 14:17:07 +00:00
projects widget: Fix items overlapping when in list view (Fix #71)
This commit is contained in:
1 parent
2c74ad3947
commit
d371607122
1 file changed
+5
-8
@@ -29,26 +29,23 @@
|
||||
|
||||
{{ if eq $page.Params.view 0 }}
|
||||
|
||||
<div id="container-projects" class="isotope">
|
||||
<ul class="fa-ul" style="position: relative">
|
||||
|
||||
<div id="container-projects" class="row isotope">
|
||||
{{ range where $.Data.Pages "Type" "project" }}
|
||||
<li class="project-item isotope-item {{ delimit .Params.tags " " }}">
|
||||
<div class="col-md-12 project-item isotope-item {{ delimit .Params.tags " " }}" itemscope itemtype="http://schema.org/CreativeWork">
|
||||
<i class="fa fa-files-o pub-icon" aria-hidden="true"></i>
|
||||
|
||||
<span class="project-title">
|
||||
{{ if .Content }}
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ else }}
|
||||
{{ with .Params.external_link }}<a href="{{ . }}" target="_blank">{{ end }}
|
||||
{{ end }}
|
||||
<i class="fa-li fa fa-files-o pub-icon" aria-hidden="true"></i>
|
||||
{{ .Title }}
|
||||
{{ if .Content }}</a>{{ else }}{{ with .Params.external_link }}</a>{{ end }}{{ end }}
|
||||
</span>
|
||||
{{ with .Params.summary }}<p class="project-summary">{{ . | markdownify }}</p>{{ end }}
|
||||
</li>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ else }}
|
||||
|
||||
Reference in new issue
Block a user