Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fachgruppenwebseite Metadaten
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fginfo
Fachgruppenwebseite Metadaten
Commits
31b85b18
Verified
Commit
31b85b18
authored
2 years ago
by
Jake
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into more-native-datatypes
parents
a2f5607e
9ba08289
No related branches found
No related tags found
No related merge requests found
Pipeline
#313906
failed
2 years ago
Stage: build
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
fgs/writer.py
+3
-2
3 additions, 2 deletions
fgs/writer.py
theme/static/css/main.css
+3
-1
3 additions, 1 deletion
theme/static/css/main.css
theme/templates/page.html
+1
-8
1 addition, 8 deletions
theme/templates/page.html
theme/templates/tag.html
+1
-1
1 addition, 1 deletion
theme/templates/tag.html
with
8 additions
and
12 deletions
fgs/writer.py
+
3
−
2
View file @
31b85b18
from
jinja2
import
Environment
,
FileSystemLoader
from
jinja2
import
Environment
,
FileSystemLoader
,
StrictUndefined
import
os
...
...
@@ -12,7 +12,8 @@ class Writer:
self
.
env
=
Environment
(
loader
=
FileSystemLoader
(
theme_dir
+
"
/templates
"
),
autoescape
=
False
autoescape
=
False
,
undefined
=
StrictUndefined
)
print
(
"
templates:
"
,
self
.
env
.
list_templates
())
...
...
This diff is collapsed.
Click to expand it.
theme/static/css/main.css
+
3
−
1
View file @
31b85b18
...
...
@@ -157,7 +157,7 @@ body > header img {
width
:
100%
;
height
:
100%
;
display
:
none
;
background-color
:
rgba
(
120
,
120
,
120
,
0.
5
);
background-color
:
rgba
(
120
,
120
,
120
,
0.
7
);
-webkit-user-select
:
none
;
/* Safari */
-moz-user-select
:
none
;
/* Firefox */
-ms-user-select
:
none
;
/* IE10+/Edge */
...
...
@@ -190,6 +190,8 @@ body > header img {
}
#sitemenu-container
nav
>
ul
{
flex-direction
:
column
;
max-height
:
calc
(
100vh
-
3.2rem
);
overflow
:
scroll
;
}
#sitemenu-container
nav
>
ul
>
li
{
width
:
100%
;
...
...
This diff is collapsed.
Click to expand it.
theme/templates/page.html
+
1
−
8
View file @
31b85b18
{% extends "base.html" %}
{% block title %}{{ render.softbreak_span(page.title) }}{% endblock %}
{% block title %}{{ render.softbreak_span(page.title)
|striptags
}}{% endblock %}
{% block extra_head %}
{%- for translation in page.translations -%}
<link
rel=
"alternate"
hreflang=
"{{ translation.lang }}"
href=
"{{ siteurl }}/{{ translation.url }}"
>
{%- endfor -%}
{% if page.summary %}
<meta
name=
"description"
content=
"{{ page.summary | striptags | safe | truncate(150) }}"
/>
{% endif %}
{% endblock %}
{% block breadcrumb %}
...
...
This diff is collapsed.
Click to expand it.
theme/templates/tag.html
+
1
−
1
View file @
31b85b18
{% extends "base.html" %}
{% block title -%}
{%- call(tagtitle, tagcolor, tagurl, tagpage, tagpages) get.tag_by_name(tag.name, l) -%}
{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }} - {{ render.softbreak_span(tagtitle) }}
{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }} - {{ render.softbreak_span(tagtitle)
|striptags
}}
{%- endcall -%}
{%- endblock -%}
...
...
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