2015-10-21
- jennifer
- martym
{{/* | |
figure with auto-resizing and srcset v2020-05-10 | |
Drop-in replacement for Hugo's figure shortcode as of 2020-05-02 that uses img srcset | |
to enable browsers to download only the resolution that they need. | |
The resizing and srcset magic only works for images that are part of the page | |
bundle. It will fall back to stock Hugo figure behaviour otherwise. |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: