Compare commits
	
		
			1 Commits
		
	
	
		
			cfa3fa5bea
			...
			d4ac24c869
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d4ac24c869 | 
| @@ -21,11 +21,11 @@ table#taxonomy-table | |||||||
|     thead |     thead | ||||||
|         text-align: left |         text-align: left | ||||||
|         border: none |         border: none | ||||||
|         background: $darkest |  | ||||||
|         border-radius: $border-radius $border-radius 0 0 |         border-radius: $border-radius $border-radius 0 0 | ||||||
|  |  | ||||||
|     th |     th | ||||||
|         color: $text |         color: $text | ||||||
|  |         background: $darkest !important | ||||||
|         padding: 0.6rem 0.6rem |         padding: 0.6rem 0.6rem | ||||||
|         text-align: left |         text-align: left | ||||||
|         font-weight: 600 |         font-weight: 600 | ||||||
| @@ -62,6 +62,12 @@ table#taxonomy-table | |||||||
|         &:hover, &:focus |         &:hover, &:focus | ||||||
|             color: $accent-light |             color: $accent-light | ||||||
|  |  | ||||||
|  |     a | ||||||
|  |         color: $text | ||||||
|  |         text-decoration: none | ||||||
|  |         &:hover, &:focus | ||||||
|  |             color: $accent | ||||||
|  |  | ||||||
| #taxonomy-page a.term-link | #taxonomy-page a.term-link | ||||||
|     padding: 0.3rem 1.2rem |     padding: 0.3rem 1.2rem | ||||||
|     margin: 0.2rem |     margin: 0.2rem | ||||||
| @@ -69,9 +75,10 @@ table#taxonomy-table | |||||||
|     border-radius: $border-radius |     border-radius: $border-radius | ||||||
|     text-decoration: none |     text-decoration: none | ||||||
|     font-weight: 500 |     font-weight: 500 | ||||||
|     color: $text |  | ||||||
|     transition: color 0.4s ease-in-out |  | ||||||
|     font-size: 1.2rem |     font-size: 1.2rem | ||||||
|  |     color: $text | ||||||
|  |     transition: color 0.4s ease-in-out, background 0.4s ease-in-out | ||||||
|     &:hover, &:focus |     &:hover, &:focus | ||||||
|         color: $darkest |         color: $darkest !important | ||||||
|  |         background: $text-subtle !important | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										9
									
								
								layouts/404.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								layouts/404.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | {{ define "main" }} | ||||||
|  |   <h1>404 Not Found</h1> | ||||||
|  |   <p>The page you requested cannot be found.</p> | ||||||
|  |   <p> | ||||||
|  |     <a href="{{ .Site.Home.RelPermalink }}"> | ||||||
|  |       Return to the home page | ||||||
|  |     </a> | ||||||
|  |   </p> | ||||||
|  | {{ end }} | ||||||
							
								
								
									
										0
									
								
								layouts/_partials/tool-table.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								layouts/_partials/tool-table.html
									
									
									
									
									
										Normal file
									
								
							| @@ -23,7 +23,7 @@ | |||||||
|           </td> |           </td> | ||||||
|           <td> |           <td> | ||||||
|             {{ range $key, $value := $taxonomy }} |             {{ range $key, $value := $taxonomy }} | ||||||
|               {{ partial "term-link.html" (dict "name" $key "taxonomy" $taxonomyname) }} |               {{ partial "term-link.html" (dict "name" $value.Page.Title "taxonomy" $taxonomyname) }} | ||||||
|             {{ end }} |             {{ end }} | ||||||
|           </td> |           </td> | ||||||
|         </tr> |         </tr> | ||||||
|   | |||||||
| @@ -1,7 +1,36 @@ | |||||||
| {{ define "main" }} | {{ define "main" }} | ||||||
|   <h1>{{ .Title }}</h1> |   <h1>{{ .Title }}</h1> | ||||||
|   {{ .Content }} |   {{ .Content }} | ||||||
|  |   <section id="tools-list"> | ||||||
|  |     <h2>Tools</h2> | ||||||
|  |   <table id="taxonomy-table"> | ||||||
|  |     <thead> | ||||||
|  |       <tr> | ||||||
|  |         <th>Tool</th> | ||||||
|  |         <th>Developers</th> | ||||||
|  |         <th>License</th> | ||||||
|  |         <th>Purposes</th> | ||||||
|  |       </tr> | ||||||
|  |     </thead> | ||||||
|  |     <tbody> | ||||||
|       {{ range .Pages }} |       {{ range .Pages }} | ||||||
|     <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> |         <tr> | ||||||
|  |           <td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td> | ||||||
|  |           <td> | ||||||
|  |             {{ $sep := "" }} | ||||||
|  |             {{ range $key, $vals := .Params }} | ||||||
|  |               {{ if (in (slice "tags" "categories" "series") $key) }} | ||||||
|  |                 {{ $sep }} | ||||||
|  |                 <strong>{{ $key | title }}:</strong> | ||||||
|  |                 {{ range $i, $val := $vals }} | ||||||
|  |                   {{ if $i }}, {{ end }}{{ $val }} | ||||||
|                 {{ end }} |                 {{ end }} | ||||||
|  |                 {{ $sep = "; " }} | ||||||
|  |               {{ end }} | ||||||
|  |             {{ end }} | ||||||
|  |           </td> | ||||||
|  |         </tr> | ||||||
|  |       {{ end }} | ||||||
|  |     </tbody> | ||||||
|  |   </table> | ||||||
| {{ end }} | {{ end }} | ||||||
|   | |||||||
							
								
								
									
										60
									
								
								layouts/tools/section.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								layouts/tools/section.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | |||||||
|  | {{ define "main" }} | ||||||
|  |   <h1>{{ .Title }}</h1> | ||||||
|  |   {{ .Content }} | ||||||
|  |   <section id="tools-list"> | ||||||
|  |     <h2>Tools</h2> | ||||||
|  |   <table id="taxonomy-table"> | ||||||
|  |     <thead> | ||||||
|  |       <tr> | ||||||
|  |         <th>Tool</th> | ||||||
|  |         <th>Developers</th> | ||||||
|  |         <th>License</th> | ||||||
|  |         <th>Purposes</th> | ||||||
|  |       </tr> | ||||||
|  |     </thead> | ||||||
|  |     <tbody> | ||||||
|  |       {{ range .Pages }} | ||||||
|  |         <tr> | ||||||
|  |           <td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td> | ||||||
|  |           <td> | ||||||
|  |             {{ $sep := "" }} | ||||||
|  |             {{ range $key, $vals := .Params }} | ||||||
|  |               {{ if (in (slice "developers") $key) }} | ||||||
|  |                 {{ $sep }} | ||||||
|  |                 {{ range $i, $val := $vals }} | ||||||
|  |                   {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} | ||||||
|  |                 {{ end }} | ||||||
|  |                 {{ $sep = "; " }} | ||||||
|  |               {{ end }} | ||||||
|  |             {{ end }} | ||||||
|  |           </td> | ||||||
|  |           <td> | ||||||
|  |             {{ $sep := "" }} | ||||||
|  |             {{ range $key, $vals := .Params }} | ||||||
|  |               {{ if (in (slice "licenses") $key) }} | ||||||
|  |                 {{ $sep }} | ||||||
|  |                 {{ range $i, $val := $vals }} | ||||||
|  |                   {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} | ||||||
|  |                 {{ end }} | ||||||
|  |                 {{ $sep = "; " }} | ||||||
|  |               {{ end }} | ||||||
|  |             {{ end }} | ||||||
|  |           </td> | ||||||
|  |           <td> | ||||||
|  |             {{ $sep := "" }} | ||||||
|  |             {{ range $key, $vals := .Params }} | ||||||
|  |               {{ if (in (slice "purposes") $key) }} | ||||||
|  |                 {{ $sep }} | ||||||
|  |                 {{ range $i, $val := $vals }} | ||||||
|  |                   {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} | ||||||
|  |                 {{ end }} | ||||||
|  |                 {{ $sep = "; " }} | ||||||
|  |               {{ end }} | ||||||
|  |             {{ end }} | ||||||
|  |           </td> | ||||||
|  |         </tr> | ||||||
|  |       {{ end }} | ||||||
|  |     </tbody> | ||||||
|  |   </table> | ||||||
|  | {{ end }} | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user