more cs- (cyberscopes) ids for dynamic stuff, + minor improvements
This commit is contained in:
		
							parent
							
								
									8d2895a7c1
								
							
						
					
					
						commit
						45609e6557
					
				
					 2 changed files with 13 additions and 11 deletions
				
			
		|  | @ -12,8 +12,10 @@ | ||||||
|           <h2 class="card-text">{{ .Title }}</h2> |           <h2 class="card-text">{{ .Title }}</h2> | ||||||
|         </header> |         </header> | ||||||
|         {{- end }} |         {{- end }} | ||||||
|         <div class="card-body" id="cs-content"> |         <div class="card-body"> | ||||||
|           <p class="card-text">{{ .Content }}</p> |           <div id="cs-info"></div> | ||||||
|  |           <p class="card-text" id="cs-content">{{ .Content }}</p> | ||||||
|  |           <div id="cs-debug" /> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
|       {{ if .Title -}} |  | ||||||
| <header class="post-header card-header" id="cs-header"> | <header class="post-header card-header" id="cs-header"> | ||||||
|  | {{ if .Title -}} | ||||||
|         <h2 class="post-title" itemprop="name headline">{{ .Title }}</h2> |         <h2 class="post-title" itemprop="name headline">{{ .Title }}</h2> | ||||||
|         {{ if and (not .Params.nodate) .Date -}} |         {{ if and (not .Params.nodate) .Date -}} | ||||||
|         <p class="post-meta"> |         <p class="post-meta"> | ||||||
|  | @ -12,10 +12,10 @@ | ||||||
|           {{- end }} |           {{- end }} | ||||||
|         </p> |         </p> | ||||||
|         {{- end }} |         {{- end }} | ||||||
|  | {{- end }} | ||||||
| </header> | </header> | ||||||
|       {{- end }} | <div class="post-content card-body" itemprop="articleBody"> | ||||||
|       {{ with .Content -}} |       <div id="cs-info"></div> | ||||||
|       <div class="post-content card-body" id="cs-content" | 	  <div id="cs-content">{{ .Content }}</div> | ||||||
| 		   itemprop="articleBody">{{ . }}</div> |       <div id="cs-debug" /> | ||||||
|       {{- end }} | </div> | ||||||
| 
 |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue