Add an icon to link
This commit is contained in:
		
					parent
					
						
							
								9c4c7d2acb
							
						
					
				
			
			
				commit
				
					
						d0e031622a
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -8,7 +8,9 @@
 | 
				
			||||||
			<div id="repo-desc" class="tw-break-anywhere tw-text-16">
 | 
								<div id="repo-desc" class="tw-break-anywhere tw-text-16">
 | 
				
			||||||
				{{$description := .Repository.DescriptionHTML $.Context}}
 | 
									{{$description := .Repository.DescriptionHTML $.Context}}
 | 
				
			||||||
				{{if $description}}<span class="description">{{$description | RenderCodeBlock}}</span>{{else}}<span class="no-description text-italic">{{ctx.Locale.Tr "repo.no_desc"}}</span>{{end}}
 | 
									{{if $description}}<span class="description">{{$description | RenderCodeBlock}}</span>{{else}}<span class="no-description text-italic">{{ctx.Locale.Tr "repo.no_desc"}}</span>{{end}}
 | 
				
			||||||
				{{if .Repository.Website}}<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{end}}
 | 
									{{if .Repository.Website}}
 | 
				
			||||||
 | 
										<a class="link tw-mt-1 tw-flex tw-items-center tw-gap-1" href="{{.Repository.Website}}">{{svg "octicon-globe"}} {{.Repository.Website}}</a>
 | 
				
			||||||
 | 
									{{end}}
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
		<div class="tw-flex tw-items-center tw-flex-wrap tw-gap-2 tw-my-2" id="repo-topics">
 | 
							<div class="tw-flex tw-items-center tw-flex-wrap tw-gap-2 tw-my-2" id="repo-topics">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue