Jelajahi Sumber

layout fixes from the test site

Heydon Pickering 8 tahun lalu
induk
melakukan
fb0a4d09fb

+ 1 - 1
docs/css/styles.css

@@ -295,7 +295,7 @@ caption {
     height: 100%;
 }
 .intro {
-  flex: 1 0 auto;
+  flex: 0 0 auto;
 }
 .patterns {
   flex: 1 1 auto;

+ 12 - 20
docs/patterns/writing/markdown-and-metadata/index.html

@@ -401,27 +401,19 @@
         <strong aria-hidden="true">Tags: </strong>
         <ul aria-label="tags">
           
-            
-              
-                <li>
-                  <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
-                    <use xlink:href="#tag"></use>
-                  </svg>
-                  <a href="https://thepaciellogroup.github.io/infusion/tags/metadata">metadata</a>
-                </li>
-              
-            
+            <li>
+              <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
+                <use xlink:href="#tag"></use>
+              </svg>
+              <a href="https://thepaciellogroup.github.io/infusion/tags/metadata">metadata</a>
+            </li>
           
-            
-              
-                <li>
-                  <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
-                    <use xlink:href="#tag"></use>
-                  </svg>
-                  <a href="https://thepaciellogroup.github.io/infusion/tags/markdown">markdown</a>
-                </li>
-              
-            
+            <li>
+              <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
+                <use xlink:href="#tag"></use>
+              </svg>
+              <a href="https://thepaciellogroup.github.io/infusion/tags/markdown">markdown</a>
+            </li>
           
         </ul>
       </div>

File diff ditekan karena terlalu besar
+ 0 - 0
docs/service-worker.js


+ 6 - 10
themes/infusion/layouts/patterns/single.html

@@ -11,16 +11,12 @@
         <strong aria-hidden="true">Tags: </strong>
         <ul aria-label="tags">
           {{ range .Params.tags }}
-            {{ if ne . "example tag"}}
-              {{ if ne . "another tag"}}
-                <li>
-                  <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
-                    <use xlink:href="#tag"></use>
-                  </svg>
-                  <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
-                </li>
-              {{ end }}
-            {{ end }}
+            <li>
+              <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
+                <use xlink:href="#tag"></use>
+              </svg>
+              <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+            </li>
           {{ end }}
         </ul>
       </div>

+ 1 - 1
themes/infusion/static/css/styles.css

@@ -295,7 +295,7 @@ caption {
     height: 100%;
 }
 .intro {
-  flex: 1 0 auto;
+  flex: 0 0 auto;
 }
 .patterns {
   flex: 1 1 auto;

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini