mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 12:16:37 +00:00 
			
		
		
		
	Redesign list layout
This commit is contained in:
		
							parent
							
								
									75a45a192b
								
							
						
					
					
						commit
						f3419a37b1
					
				
					 5 changed files with 122 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -1,13 +1,22 @@
 | 
			
		|||
{{ define "main" }}
 | 
			
		||||
  <div id="main">
 | 
			
		||||
<div id="main">
 | 
			
		||||
    <div class="container">
 | 
			
		||||
      {{ partial "content.html" . }}
 | 
			
		||||
      {{ if .Content }}
 | 
			
		||||
        {{ partial "content.html" . }}
 | 
			
		||||
        {{ if .Content }}
 | 
			
		||||
        <hr>
 | 
			
		||||
      {{ end }}
 | 
			
		||||
      {{ range .Pages.ByTitle }}
 | 
			
		||||
        {{ partial "list_item.html" . }}
 | 
			
		||||
      {{ end }}
 | 
			
		||||
        {{ end }}
 | 
			
		||||
 | 
			
		||||
        <div class="item-list">
 | 
			
		||||
            <div class="item-list-group">
 | 
			
		||||
                <ul class="item-list-items">
 | 
			
		||||
                    {{ range .Pages.ByTitle }}
 | 
			
		||||
                    <li class="item-list-item" data-id="{{ with .File}}{{ .File.UniqueID }}{{ end }}">
 | 
			
		||||
                        {{ partial "list_item.html" . }}
 | 
			
		||||
                    </li>
 | 
			
		||||
                    {{ end }}
 | 
			
		||||
                </ul>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{{ end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue