Prechádzať zdrojové kódy

fix HTML

from https://validator.w3.org:
> Document checking completed. No errors or warnings to show.
jomo 9 rokov pred
rodič
commit
6e500d8652
1 zmenil súbory, kde vykonal 6 pridanie a 7 odobranie
  1. 6 7
      lib/views/index.html.ejs

+ 6 - 7
lib/views/index.html.ejs

@@ -9,7 +9,7 @@
   <meta name="description" content="A blazing fast API for Minecraft faces with support for avatars, skins, and 3D renders!">
   <meta name="keywords" content="minecraft, avatar, renders, skins, uuid">
   <meta name="viewport" content="initial-scale=1, maximum-scale=1">
-  <meta name="copyright"content="Crafatar">
+  <meta name="copyright" content="Crafatar">
   <meta name="language" content="en-US">
   <meta name="robots" content="index">
   <meta property="og:title" content="Crafatar">
@@ -143,7 +143,7 @@
               <div class="code">
                 <%= domain %>/skins/<mark class="green">uuid</mark>
               </div>
-              <p>Accepted <a href="#meta-parameters">modifiers</a>: <b>default</b></i>.</p>
+              <p>Accepted <a href="#meta-parameters">modifiers</a>: <i><b>default</b></i>.</p>
             </div>
           </div>
         </section>
@@ -158,7 +158,7 @@
               <div class="code">
                 <%= domain %>/capes/<mark class="green">uuid</mark>
               </div>
-              <p>Accepted <a href="#meta-parameters">modifiers</a>: <b>default</b></i>.</p>
+              <p>Accepted <a href="#meta-parameters">modifiers</a>: <i><b>default</b></i>.</p>
             </div>
           </div>
         </section>
@@ -177,9 +177,9 @@
             <p>
               Attribution is not required, but it is <strong>encouraged</strong>.<br>
               If you want to show some support for this (free!) service, place a notice like this somewhere:
-              <div class="code">
+              <span class="code">
                 Thank you to &lt;a href="https://crafatar.com"&gt;Crafatar&lt;/a&gt; for providing avatars.
-              </div>
+              </span>
             </p>
           </section>
 
@@ -197,7 +197,7 @@
                 <b>default</b>: The fallback to be used when the requested image cannot be served. You can use a <span title="Make sure to properly percent-encode this!">custom URL</span> or any <mark class="green">uuid</mark>.<br>
                 The option defaults to either <code>MHF_Steve</code> or <code>MHF_Alex</code>, depending on the requested UUID. All usernames default to <code>MHF_Steve</code>.
             </ul>
-          </p>
+          </section>
 
           <section id="meta-uuids">
             <h3><a href="#meta-uuids">About UUIDs</a></h3>
@@ -293,7 +293,6 @@
         <a rel="nofollow" href="https://github.com/qrush/wither" target="_blank" class="list-group-item">wither <i>(Slack)</i></a>
         <a href="https://github.com/crafatar/crafatar/wiki/Who-uses-crafatar%3F#other-services-using-crafatar" target="_blank" class="list-group-item">and many more…</a>
       </div>
-      </p>
     </div>
   </div>