Add views/link.html
This commit is contained in:
@@ -35,6 +35,14 @@ func main() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
r.Get("/link", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
err := renderer.Render(w, "link.html", util.H{})
|
||||||
|
if err != nil {
|
||||||
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
r.Get("/utenti", func(w http.ResponseWriter, r *http.Request) {
|
r.Get("/utenti", func(w http.ResponseWriter, r *http.Request) {
|
||||||
err := renderer.Render(w, "utenti.html", util.H{})
|
err := renderer.Render(w, "utenti.html", util.H{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{{template "base" .}}
|
||||||
|
|
||||||
|
{{define "title"}}PHC • Link Utili • phc.dm.xxxxx.xx{{end}}
|
||||||
|
|
||||||
|
{{define "body"}}
|
||||||
|
<section>
|
||||||
|
<h2>
|
||||||
|
<i class="fas fa-link"></i>
|
||||||
|
Link Utili
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p style="text-align: center;">
|
||||||
|
Questo è un elenco di indirizzi che riteniamo utili:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://linktr.ee/aulastudenti">Link dell'Aula Studenti</a>
|
||||||
|
<a href="http://www.dm.unipi.it/webnew/it/cds/home-cds">Dipartimento di Matematica</a>
|
||||||
|
<a href="http://detexify.kirelabs.org/classify.html">Non trovi un simbolo in Latex?</a>
|
||||||
|
<a href="https://github.com/SuzanneSoy/WiTeX">Wikipedia + Latex</a>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{{end}}
|
||||||
Reference in New Issue
Block a user