* Add figure style * Add figure to exampleSite * Apply suggested changes from code-review
@@ -26,4 +26,5 @@
- [Martin Kiesel](https://github.com/Kyslik)
- [John Tobin](https://www.johntobin.ie/)
- [Thomas Nys](https://thomasnys.com)
+- [Piotr Januszewski](https://piojanu.github.io)
- [Artem Khvastunov](https://artspb.me)
@@ -40,6 +40,16 @@
}
+ figure {
+ margin: 0;
+ padding: 0;
+ }
+ figcaption p {
+ text-align: center;
+ font-style: italic;
+ font-size: 1.6rem;
.avatar img{
@@ -74,3 +74,7 @@ var foo = function (bar) {
console.log(foo(5));
```
+
+## Hugo shortcode for figure
+{{< figure src="/images/N90.jpg" caption="N90 nebula, \"New stars shed light on the past\" by ESA/Hubble" >}}
@@ -1 +1 @@
-{"Target":"css/coder.min.c69bf5954f7fea8f2a0bb71d82d5219e668649fdab3dad0d1844dfbe049df7e9.css","MediaType":"text/css","Data":{"Integrity":"sha256-xpv1lU9/6o8qC7cdgtUhnmaGSf2rPa0NGETfvgSd9+k="}}
+{"Target":"css/coder.min.a3307e096757a84995f145daccdad26307f88b657e9946d207d011e314ef1442.css","MediaType":"text/css","Data":{"Integrity":"sha256-ozB+CWdXqEmV8UXazNrSYwf4i2V+mUbSB9AR4xTvFEI="}}