mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-11-03 18:27:55 -06:00 
			
		
		
		
	Enable the section header link icon
This commit is contained in:
		@@ -49,20 +49,23 @@
 | 
			
		||||
  color: inherit;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* this took too much work but doesn't quite fit the theme
 | 
			
		||||
.section-header {
 | 
			
		||||
  position: relative;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.section-header a {
 | 
			
		||||
.section-header a:hover {
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.section-header-link {
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  left: -30px;
 | 
			
		||||
  left: -20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.section-header-link svg {
 | 
			
		||||
  width: 15px;
 | 
			
		||||
  height: 15px;
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,7 @@
 | 
			
		||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-header">
 | 
			
		||||
    <a href="#{{ .Anchor | safeURL }}">
 | 
			
		||||
        {{/* this took too much work but doesn't quite fit the theme
 | 
			
		||||
        <span class="section-header-link">
 | 
			
		||||
            {{ partial "icon.html" "link" }}
 | 
			
		||||
        */}}
 | 
			
		||||
        </span>
 | 
			
		||||
        {{ .Text | safeHTML }}
 | 
			
		||||
    </a>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user