mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 09:12:20 +00:00
Bump the quality of image renders
This commit is contained in:
@@ -9,6 +9,12 @@ changeFreq = 'weekly'
|
|||||||
filename = 'sitemap.xml'
|
filename = 'sitemap.xml'
|
||||||
priority = -1
|
priority = -1
|
||||||
|
|
||||||
|
[imaging]
|
||||||
|
bgColor = '#ffffff'
|
||||||
|
hint = 'photo'
|
||||||
|
quality = 85
|
||||||
|
resampleFilter = 'MitchellNetravali'
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
company = "Leigh Hackspace CIC"
|
company = "Leigh Hackspace CIC"
|
||||||
company_number = "09404083"
|
company_number = "09404083"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ title: Fabrication
|
|||||||
subtitle: Use 3D printers and laser cutters to bring your creations to life.
|
subtitle: Use 3D printers and laser cutters to bring your creations to life.
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< image src="fabrication.png" >}}
|
{{< image src="fabrication.jpg" >}}
|
||||||
@@ -5,6 +5,6 @@ subtitle: "A social area to relax and run events from."
|
|||||||
|
|
||||||
Our social space is the open area that can be used to relax, play some games, or even run an event. The space is fitted with a small stage, a bar, and seats and tables.
|
Our social space is the open area that can be used to relax, play some games, or even run an event. The space is fitted with a small stage, a bar, and seats and tables.
|
||||||
|
|
||||||

|
{{< image src="social_space.jpg" >}}
|
||||||
|
|
||||||
The space is available for members and the public (with member support) to run events in. If you're interested in running a regular event or using the space then please get in contact.
|
The space is available for members and the public (with member support) to run events in. If you're interested in running a regular event or using the space then please get in contact.
|
||||||
@@ -10,7 +10,8 @@
|
|||||||
<article class="media">
|
<article class="media">
|
||||||
<figure class="media-left">
|
<figure class="media-left">
|
||||||
<p class="image is-64x64">
|
<p class="image is-64x64">
|
||||||
<img class="is-rounded" src="https://www.gravatar.com/avatar/{{ sha256 .Params.author_email }}">
|
{{ $avatar := resources.GetRemote (print "https://www.gravatar.com/avatar/" (sha256 .Params.author_email)) | resources.Copy (print "images/avatars/" (sha256 .Params.author_email) ".jpg") }}
|
||||||
|
<img class="is-rounded" src="{{ $avatar.Permalink }}">
|
||||||
</p>
|
</p>
|
||||||
</figure>
|
</figure>
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }}
|
{{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }}
|
||||||
{{ $width := .Get "width" }}
|
{{ $width := .Get "width" }}
|
||||||
{{ $img = $img.Resize (print (default "1256x" $width) " jpg") }}
|
{{ $img = $img.Resize (print (default "1264x" $width) " webp") }}
|
||||||
{{ $title := .Get "title" }}
|
{{ $title := .Get "title" }}
|
||||||
{{ $class := .Get "class" }}
|
{{ $class := .Get "class" }}
|
||||||
<figure class="image{{ if $class }} {{ $class }}{{ end }}">
|
<figure class="image{{ if $class }} {{ $class }}{{ end }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user