Ensure all pages have meta info

Labels: webui

Timeline

Amolith opened

The <title> element is rendered in the base template pkg/web/templates/base.html

These Go source files pass the title into the base template.

  • pkg/web/webui_about.go
  • pkg/web/webui_blob.go
  • pkg/web/webui_branches.go
  • pkg/web/webui_commit.go
  • pkg/web/webui_commits.go
  • pkg/web/webui_git.go
  • pkg/web/webui_helpers.go
  • pkg/web/webui_home.go
  • pkg/web/webui_overview.go
  • pkg/web/webui_tags.go
  • pkg/web/webui_tree.go

What kind of meta info do we want to display on each page? The commit page could show a truncated snippet from the commit body and the home/about page a truncated snippet from the .soft-serve repo's README. I'm thinking the rest could show a truncated snippet from the project description, if available.

Amolith added label webui

Amolith closed the bug