Better linking on index
This commit is contained in:
parent
6c28380529
commit
84be74f1cc
2 changed files with 34 additions and 20 deletions
|
@ -16,33 +16,39 @@
|
||||||
<section class="box special features">
|
<section class="box special features">
|
||||||
<div class="features-row">
|
<div class="features-row">
|
||||||
<section>
|
<section>
|
||||||
<span class="icon major fa-sticky-note-o accent2"></span>
|
{{ with .Site.GetPage "section" "posts" }}
|
||||||
<h3>Blog</h3>
|
<a href="{{ .Permalink }}" class="no-underline">
|
||||||
<p>
|
<span class="icon major fa-sticky-note-o accent2"></span>
|
||||||
{{ with .Site.GetPage "section" "posts" }}
|
<h3>Blog</h3>
|
||||||
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
</a>
|
||||||
{{ end }}
|
<p>
|
||||||
</p>
|
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<span class="icon major fa-code accent3"></span>
|
{{ with .Site.GetPage "section" "projects" }}
|
||||||
<h3>Projects</h3>
|
<a href="{{ .Permalink }}" class="no-underline">
|
||||||
<p>
|
<span class="icon major fa-code accent3"></span>
|
||||||
{{ with .Site.GetPage "section" "projects" }}
|
<h3>Projects</h3>
|
||||||
|
</a>
|
||||||
|
<p>
|
||||||
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
||||||
{{ end }}
|
</p>
|
||||||
</p>
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="features-row">
|
<div class="features-row">
|
||||||
<section>
|
<section>
|
||||||
<span class="icon major fa-desktop accent4"></span>
|
{{ with .Site.GetPage "section" "setup" }}
|
||||||
<h3>Setup</h3>
|
<a href="{{ .Permalink }}" class="no-underline">
|
||||||
<p>
|
<span class="icon major fa-desktop accent4"></span>
|
||||||
{{ with .Site.GetPage "section" "setup" }}
|
<h3>Setup</h3>
|
||||||
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
</a>
|
||||||
{{ end }}
|
<p>
|
||||||
</p>
|
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<span class="icon major fa-lock accent5"></span>
|
<span class="icon major fa-lock accent5"></span>
|
||||||
|
|
|
@ -43,3 +43,11 @@ pre code {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.no-underline {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a .icon {
|
||||||
|
cursor: inherit !important;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue