Source code of my website
1
fork

Configure Feed

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

♻️ : move inline style to css class for featured images

+10 -2
+8
assets/css/custom.css
··· 100 100 margin-bottom: 4em; 101 101 } 102 102 103 + .projects .info a .featuredImage { 104 + max-height: 5rem; 105 + } 106 + 103 107 .projects .info .links { 104 108 float: none; 105 109 display: flex; ··· 142 146 143 147 .books .info .links li a img { 144 148 margin: 0; 149 + } 150 + 151 + .books .info a .featuredImage { 152 + max-height: 10rem; 145 153 } 146 154 147 155 /* article headline style */
+1 -1
layouts/_partials/books/info.html
··· 14 14 15 15 {{ if .Params.featuredImage }} 16 16 <a href="{{ .Permalink }}"> 17 - <img alt="Couverture du livre {{ .Title }}" style="max-height: 10rem;" src="{{ .RelPermalink }}/{{ .Params.featuredImage }}"> 17 + <img class="featuredImage" alt="Couverture du livre {{ .Title }}" src="{{ .RelPermalink }}/{{ .Params.featuredImage }}"> 18 18 </a> 19 19 {{end}} 20 20
+1 -1
layouts/_partials/projects/info.html
··· 17 17 18 18 {{ if .Params.featuredImage }} 19 19 <a href="{{ .Permalink }}"> 20 - <img style="max-height: 5rem;" src="{{ .RelPermalink }}/{{ .Params.featuredImage }}"> 20 + <img class="featuredImage" src="{{ .RelPermalink }}/{{ .Params.featuredImage }}"> 21 21 </a> 22 22 {{end}} 23 23