Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’„ : correct aspect ratio of pp

+6 -10
+1 -1
hugo.toml
··· 30 30 31 31 [params] 32 32 brand = "Julien Wittouck" 33 - brand_image = '/images/pp_ekite_itvw.png' 33 + brand_image = 'pp_ekite_itvw.png' 34 34 og_image = 'pp_ekite_itvw.png' 35 35 description = "freelance solution & software architect ๐Ÿ— - containers ๐Ÿ‹ & linux ๐Ÿง โค๏ธ - teacher & trainer ๐ŸŽ“ @ univ-lille.fr - speaker ๐ŸŽ™ - Team @Cloud_Nord" 36 36 front_page_content = ["posts", "projects", "books"]
+5 -9
layouts/partials/sidebar/title.html
··· 1 1 <div class="sidebar-about"> 2 2 <h1 class="brand"> 3 - {{ if .Site.Params.remote_brand_image }} 4 - <a href="{{ .Site.BaseURL }}"> 5 - <img src="{{ .Site.Params.remote_brand_image }}" alt="brand image"> 6 - </a> 7 - {{ else if .Site.Params.brand_image }} 8 - <a href="{{ .Site.BaseURL }}"> 9 - <img src="{{ .Site.Params.brand_image }}" alt="brand image"> 10 - </a> 11 - {{ end }} 3 + <a href="{{ .Site.BaseURL }}"> 4 + {{ $brand_image := resources.Get .Site.Params.brand_image }} 5 + {{ $brand_image := $brand_image.Fill "180x180 Center"}} 6 + <img src="{{ $brand_image.Permalink }}" alt="brand image"> 7 + </a> 12 8 {{ if .Site.Params.brand }} 13 9 <a href="{{ .Site.BaseURL }}"> 14 10 <h1>{{ .Site.Params.brand }}</h1>