mirror of
https://gitea.com/gitea/website.git
synced 2024-06-02 08:11:23 +05:30
c9bdf22531
- Add Matrix link to header. - Switch to [Fork-Awesome](https://forkaweso.me/Fork-Awesome/), as it includes a matrix icon. This requires the inclusion from `header.html` to change the otherwise hardcoded Font-Awesome style. Reviewed-on: https://gitea.com/gitea/website/pulls/105 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-committed-by: Gusted <williamzijl7@hotmail.com>
23 lines
623 B
HTML
23 lines
623 B
HTML
<span class="navbar-item logo"><img src="{{ .Site.BaseURL }}images/gitea.png" alt="{{ .Site.Title }}"></span>
|
|
{{ range .Site.Menus.page }}
|
|
{{ if .HasChildren }}
|
|
<div class="navbar-item dropdown">
|
|
<i class="fa fa-{{ .Pre }}"></i>
|
|
<span>{{ .Name }}</span>
|
|
<div class="dropdown-content">
|
|
{{ range .Children }}
|
|
<a class="navbar-item" href="{{ .URL }}">
|
|
<i class="fa fa-{{ .Pre }}"></i>
|
|
{{ .Name }}
|
|
</a>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ else }}
|
|
<a class="navbar-item" href="{{ .URL }}">
|
|
<i class="fa fa-{{ .Pre }}"></i>
|
|
{{ .Name }}
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|