fix last commit
This commit is contained in:
		
							parent
							
								
									fc00ad5bff
								
							
						
					
					
						commit
						776ef084c9
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
<!-- {{replaceRE `(http.+) (\w+)` "$1-$2" .Content}} -->
 | 
					 | 
				
			||||||
{{$content := replaceRE `a href="\.\.\/(.+%20.+)+"` `$1` .Content}}
 | 
					{{$content := replaceRE `a href="\.\.\/(.+%20.+)+"` `$1` .Content}}
 | 
				
			||||||
{{$content = replace $content "%20" "-"}}
 | 
					{{$content = replace $content "%20" "-"}}
 | 
				
			||||||
 | 
					{{$content = $content | safeHTML}}
 | 
				
			||||||
<!DOCTYPE html>
 | 
					<!DOCTYPE html>
 | 
				
			||||||
<html lang="en">
 | 
					<html lang="en">
 | 
				
			||||||
{{ partial "head.html" . }}
 | 
					{{ partial "head.html" . }}
 | 
				
			||||||
| 
						 | 
					@ -16,7 +16,13 @@
 | 
				
			||||||
        {{partial "darkmode.html" .}}
 | 
					        {{partial "darkmode.html" .}}
 | 
				
			||||||
    </header>
 | 
					    </header>
 | 
				
			||||||
    <article>
 | 
					    <article>
 | 
				
			||||||
        {{ $content | safeHTML }}
 | 
					        {{if $.Site.Data.config.enableToc}}
 | 
				
			||||||
 | 
					        <aside class="mainTOC">
 | 
				
			||||||
 | 
					            <h3>Table of Contents</h3>
 | 
				
			||||||
 | 
					            {{ .TableOfContents }}
 | 
				
			||||||
 | 
					        </aside>
 | 
				
			||||||
 | 
					        {{end}}
 | 
				
			||||||
 | 
					        {{- $content -}}
 | 
				
			||||||
    </article>
 | 
					    </article>
 | 
				
			||||||
    {{partial "footer.html" .}}
 | 
					    {{partial "footer.html" .}}
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue