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>
 | 
			
		||||
        <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>
 | 
			
		||||
 | 
			
		||||
    <!-- Content -->
 | 
			
		||||
    <section>
 | 
			
		||||
    <section role="article">
 | 
			
		||||
        {{ content }}
 | 
			
		||||
    </section>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,12 +6,17 @@ layout: default
 | 
			
		||||
 | 
			
		||||
    <!-- 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>
 | 
			
		||||
 | 
			
		||||
    <!-- Content -->
 | 
			
		||||
    <section>
 | 
			
		||||
    <section role="article">
 | 
			
		||||
        {{ content }}
 | 
			
		||||
    </section>
 | 
			
		||||
 | 
			
		||||
    <!-- Comments -->
 | 
			
		||||
    {% include disqus.html %}
 | 
			
		||||
 | 
			
		||||
</article>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user