| 
									
										
										
										
											2024-12-26 03:32:20 +00:00
										 |  |  | {{ $isPost := eq .Page.Type "post" -}} | 
					
						
							|  |  |  | {{ $showOnPosts := $.Site.Params.sidebar_show_on_posts -}} | 
					
						
							|  |  |  | {{ $showOnPages := $.Site.Params.sidebar_show_on_pages -}} | 
					
						
							|  |  |  | {{ $shouldShowSidebar := or .IsHome (and $showOnPosts $isPost) (and $showOnPages (not $isPost)) -}} | 
					
						
							|  |  |  | {{ if $shouldShowSidebar -}} | 
					
						
							| 
									
										
										
										
											2024-03-16 22:05:34 +00:00
										 |  |  | <div class="sidebar"> | 
					
						
							|  |  |  |     {{ if templates.Exists "partials/sidebar.html" }} | 
					
						
							| 
									
										
										
										
											2024-03-16 22:10:21 +00:00
										 |  |  |     {{ partial "sidebar.html" . }} | 
					
						
							| 
									
										
										
										
											2024-03-16 22:32:10 +00:00
										 |  |  |     {{ else }} | 
					
						
							| 
									
										
										
										
											2024-03-16 22:05:34 +00:00
										 |  |  |     {{ partial "sidebar-for-tiny-theme/recommendations.html" . }} | 
					
						
							|  |  |  |     {{ end }} | 
					
						
							| 
									
										
										
										
											2024-03-24 01:06:08 +00:00
										 |  |  | </div> | 
					
						
							|  |  |  | {{ end -}} |