hack.less wip
parent
827182f830
commit
8ee2ec2b7c
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: About me
|
||||
menu: slides
|
||||
---
|
||||
|
||||
I'm a freelancing Mathematician, Full Stack Developer and DevOps.
|
||||
|
|
|
@ -10,6 +10,30 @@ summary: >
|
|||
In this article we are discussing a concrete setup with concrete tools and a concrete language.
|
||||
But the solutions described here, are intended to help you with your set up.
|
||||
|
||||
## Flex box
|
||||
|
||||
{{% flexbox %}}
|
||||
{{% flex-third %}}1/3{{% /flex-third %}}
|
||||
{{% flex-third %}}2/3{{% /flex-third %}}
|
||||
{{% flex-third %}}3/3{{% /flex-third %}}
|
||||
{{% flex-half%}}1/2{{% /flex-half %}}
|
||||
{{% flex-half%}}2/2{{% /flex-half %}}
|
||||
{{% flex-full%}}1/1{{% /flex-full %}}
|
||||
{{% /flexbox %}}
|
||||
|
||||
## Flex box in Big Content
|
||||
|
||||
{{% content-big %}}
|
||||
{{% flexbox %}}
|
||||
{{% flex-third %}}1/3{{% /flex-third %}}
|
||||
{{% flex-third %}}2/3{{% /flex-third %}}
|
||||
{{% flex-third %}}3/3{{% /flex-third %}}
|
||||
{{% flex-half%}}1/2{{% /flex-half %}}
|
||||
{{% flex-half%}}2/2{{% /flex-half %}}
|
||||
{{% flex-full%}}1/1{{% /flex-full %}}
|
||||
{{% /flexbox %}}
|
||||
{{% /content-big %}}
|
||||
|
||||
## Listings
|
||||
|
||||
Here are the Tools used.
|
||||
|
|
|
@ -11,15 +11,10 @@
|
|||
{{ $current := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
|
||||
|
||||
<li {{if $active}}class="active" {{end}}>
|
||||
<a href="{{ .URL }}" title="{{ .Title }}"> {{ .Name }} </a>
|
||||
</li>
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
<ul class="pages-list">
|
||||
{{ range (where site.RegularPages "Type" "in" site.Params.mainSections).ByDate.Reverse }}
|
||||
<li class="page-list-item">
|
||||
<li>
|
||||
<a href="{{.URL}}">
|
||||
<h3> {{ .Title }} </h3>
|
||||
{{ .Title }}
|
||||
<p>
|
||||
{{ .Param "summary" }}
|
||||
</p>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<div style="flex:0 0 100%">
|
||||
{{ .Inner }}
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div style="flex:0 0 50%">
|
||||
{{ .Inner }}
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div style="flex:0 0 33.3%">
|
||||
{{ .Inner }}
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div style="display:flex;flex-wrap:wrap;">
|
||||
{{ .Inner }}
|
||||
</div>
|
Loading…
Reference in New Issue