Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Luca (strifel)
uffd
Commits
bc40fea3
Commit
bc40fea3
authored
2 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Configurable site title
Closes #152 Co-authored-by: davidc
parent
3678d41d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
uffd/default_config.cfg
+1
-0
1 addition, 0 deletions
uffd/default_config.cfg
uffd/templates/base.html
+2
-2
2 additions, 2 deletions
uffd/templates/base.html
with
3 additions
and
2 deletions
uffd/default_config.cfg
+
1
−
0
View file @
bc40fea3
...
...
@@ -106,6 +106,7 @@ SERVICES_BANNER_PUBLIC=True
SERVICES_PUBLIC
=
True
BRANDING_LOGO_URL
=
'/static/empty.png'
SITE_TITLE
=
'uffd'
# Name and contact mail address are displayed to users in a few places (plain text only!)
ORGANISATION_NAME
=
'Example Organisation'
...
...
This diff is collapsed.
Click to expand it.
uffd/templates/base.html
+
2
−
2
View file @
bc40fea3
...
...
@@ -4,7 +4,7 @@
{% block head %}
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
{% block title %}
uffd
{% endblock %}
</title>
<title>
{% block title %}
{{ config['SITE_TITLE'] }}
{% endblock %}
</title>
<link
href=
"{{ url_for('static', filename="
bootstrap
/
bootstrap.min.css
")
}}"
rel=
"stylesheet"
>
<link
href=
"{{ url_for('static', filename="
fa
/
css
/
all.css
")
}}"
rel=
"stylesheet"
>
...
...
@@ -35,7 +35,7 @@
{%- endmacro %}
<nav
class=
"navbar navbar-expand-md navbar-dark bg-dark static-top"
>
<a
class=
"navbar-brand"
href=
"{{ url_for('index') }}"
>
uffd
</a>
<a
class=
"navbar-brand"
href=
"{{ url_for('index') }}"
>
{{ config['SITE_TITLE'] }}
</a>
{% if getnavbar() or request.user or config['LANGUAGES']|length > 1 %}
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#baseNavbar"
aria-controls=
"baseNavbar"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment