Add graph to note
This commit is contained in:
@@ -17,6 +17,8 @@ references:
|
|||||||
file: www-artofmanliness-com-6lxmwc.txt
|
file: www-artofmanliness-com-6lxmwc.txt
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{{<thumbnail graph1 "500x" />}}
|
||||||
|
|
||||||
> Book smarts, street smarts. Learning by study, learning by doing.
|
> Book smarts, street smarts. Learning by study, learning by doing.
|
||||||
> Read about it, apply it, see it in action, take that practical experience
|
> Read about it, apply it, see it in action, take that practical experience
|
||||||
> back to your reading, deepen your understanding, take that deeper
|
> back to your reading, deepen your understanding, take that deeper
|
||||||
|
|||||||
@@ -66,6 +66,10 @@ sup {
|
|||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.nowrap {
|
.nowrap {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -74,15 +78,11 @@ sup {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
|
|
||||||
figure {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.references {
|
.references {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{{ $orig := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }}
|
{{ $orig := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }}
|
||||||
{{ $options := .Get 1 }}
|
{{ $options := .Get 1 }}
|
||||||
{{ $img := $orig.Fill $options }}
|
|
||||||
|
{{ $img := $orig.Resize $options }}
|
||||||
|
|
||||||
|
{{ if findRE `\d+x\d+` $options }}
|
||||||
|
{{ $img = $orig.Fill $options }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<a href="{{ $orig.RelPermalink }}">
|
<a href="{{ $orig.RelPermalink }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user