Przeglądaj źródła

Fix HTML5 validation for Google Fonts (#151)

* Replaced "|" with encoded value "%7C" for HTML5 compatibility

* Appended to contributers file
Thomas Vochten 6 lat temu
rodzic
commit
e94774cf5d
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      CONTRIBUTORS.md
  2. 1 1
      layouts/_default/baseof.html

+ 1 - 0
CONTRIBUTORS.md

@@ -32,3 +32,4 @@
 - [Salvatore Giordano] (https://salvatore-giordano.github.io)
 - [Jeffrey Carpenter](https://uvolabs.me)
 - [Paul Lettington](https://github.com/plett)
+- [Thomas Vochten](https://github.com/thomasvochten)

+ 1 - 1
layouts/_default/baseof.html

@@ -17,7 +17,7 @@
 
     <link rel="canonical" href="{{ .Permalink }}">
 
-    <link href="https://fonts.googleapis.com/css?family=Lato:400,700|Merriweather:300,700|Source+Code+Pro:400,700" rel="stylesheet">
+    <link href="https://fonts.googleapis.com/css?family=Lato:400,700%7CMerriweather:300,700%7CSource+Code+Pro:400,700" rel="stylesheet">
     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous" />
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" integrity="sha256-oSrCnRYXvHG31SBifqP2PM1uje7SJUyX0nTwO2RJV54=" crossorigin="anonymous" />