mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	feat(html): Adding roles to the standard HTML
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -6,11 +6,13 @@ layout: default
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- Header -->
 | 
					    <!-- Header -->
 | 
				
			||||||
    <header>
 | 
					    <header>
 | 
				
			||||||
        <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
 | 
					        <h1 aria-level="1" role="heading">
 | 
				
			||||||
 | 
					            {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
				
			||||||
 | 
					        </h1>
 | 
				
			||||||
    </header>
 | 
					    </header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Content -->
 | 
					    <!-- Content -->
 | 
				
			||||||
    <section>
 | 
					    <section role="article">
 | 
				
			||||||
        {{ content }}
 | 
					        {{ content }}
 | 
				
			||||||
    </section>
 | 
					    </section>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,12 +6,17 @@ layout: default
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- Header -->
 | 
					    <!-- Header -->
 | 
				
			||||||
    <header>
 | 
					    <header>
 | 
				
			||||||
        <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
 | 
					        <h1 aria-level="1" role="heading">
 | 
				
			||||||
 | 
					            {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
				
			||||||
 | 
					        </h1>
 | 
				
			||||||
    </header>
 | 
					    </header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Content -->
 | 
					    <!-- Content -->
 | 
				
			||||||
    <section>
 | 
					    <section role="article">
 | 
				
			||||||
        {{ content }}
 | 
					        {{ content }}
 | 
				
			||||||
    </section>
 | 
					    </section>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Comments -->
 | 
				
			||||||
 | 
					    {% include disqus.html %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</article>
 | 
					</article>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user