Browse Source

Make CC images local

Brendan Abolivier 6 years ago
parent
commit
38ffd4ef24

+ 1
- 1
layouts/partials/sidebar.html View File

18
       {{- end }}
18
       {{- end }}
19
     </ul>
19
     </ul>
20
 
20
 
21
-    <p>{{ with .Site.Params.creativeCommons }}<a href="https://creativecommons.org/licenses/{{ . }}/4.0/"><img src="https://licensebuttons.net/l/{{ . }}/4.0/80x15.png" alt="CC {{.}}" class="inline" /></a>{{ end }}  {{ .Site.Params.author }}</p>
21
+    <p><a href="https://creativecommons.org/licenses/{{ .Site.Params.creativeCommons }}/4.0/"><img src="{{ .Site.BaseURL}}/images/cc/{{ .Site.Params.creativeCommons }}.png" alt="CC {{ .Site.Params.creativeCommons }}" class="inline" /></a> {{ .Site.Params.author }}</p>
22
   </div>
22
   </div>
23
 </div>
23
 </div>

BIN
static/images/cc/by-nc-nd.png View File


BIN
static/images/cc/by-nc-sa.png View File


BIN
static/images/cc/by-nc.png View File


BIN
static/images/cc/by-nd.png View File


BIN
static/images/cc/by-sa.png View File


BIN
static/images/cc/by.png View File