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
20c5b809
Verified
Commit
20c5b809
authored
2 years ago
by
Jake
Browse files
Options
Downloads
Patches
Plain Diff
updated html
parent
2db592b1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theme/templates/base.html
+20
-16
20 additions, 16 deletions
theme/templates/base.html
theme/templates/page.html
+61
-62
61 additions, 62 deletions
theme/templates/page.html
theme/templates/tag.html
+2
-2
2 additions, 2 deletions
theme/templates/tag.html
with
83 additions
and
80 deletions
theme/templates/base.html
+
20
−
16
View file @
20c5b809
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
{%- import 'macros/content_renderer.html' as content_renderer with context -%}
{%- import 'macros/content_renderer.html' as content_renderer with context -%}
{%- import 'macros/nav.html' as nav with context -%}
{%- import 'macros/nav.html' as nav with context -%}
<html
lang=
"{
%- block html_lang -%}{{ l }}{%- endblock html_lang -%}
"
>
<html
lang=
"{
{ l }}"
xmlns=
"http://www.w3.org/1999/xhtml
"
>
<head>
<head>
{% block head %}
{% block head %}
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1
.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1
, viewport-fit=cover"
/
>
<title>
{% block title %}{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }}{%endblock%}
</title>
<title>
{% block title %}{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }}{%endblock%}
</title>
<!-- <base target="_blank"> -->
<!-- <base target="_blank"> -->
<!-- <meta HTTP-EQUIV="REFRESH" content="500; url=#"> -->
<!-- <meta HTTP-EQUIV="REFRESH" content="500; url=#"> -->
...
@@ -24,31 +24,37 @@
...
@@ -24,31 +24,37 @@
<!-- <link rel="icon" type="image/png" sizes="192x192" href="static/img/favicon-192x192.png"/>
<!-- <link rel="icon" type="image/png" sizes="192x192" href="static/img/favicon-192x192.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="static/img/favicon-32x32.png"/>-->
<link rel="icon" type="image/png" sizes="32x32" href="static/img/favicon-32x32.png"/>-->
<!-- <link rel="icon" type="image/x-icon" sizes="16x16" href="static/img/favicon.ico"/> -->
<!-- <link rel="icon" type="image/x-icon" sizes="16x16" href="static/img/favicon.ico"/> -->
{#{%- if FEED_ALL_ATOM %}
<link
href=
"{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}"
type=
"application/atom+xml"
rel=
"alternate"
title=
"{{ t[l].atom.title|e }}"
/>
{% endif -%}#}
{% block extra_head %}{% endblock extra_head %}
{% block extra_head %}{% endblock extra_head %}
{% endblock head %}
{% endblock head %}
</head>
</head>
<body>
<body
id=
"top"
>
<!--<nav id="controls">
</nav>-->
<header>
<header>
{% block header %}
{% block
site_
header %}
<h1><a
href=
"{{ siteurl }}/{{ l }}/"
title=
"{{ t[l].banner.title|e }}"
><img
alt=
"{{ t[l].banner.alt|e }}"
src=
"{{ siteurl }}/{{ theme.static_dir }}/images/banner-logo.png"
><span>
{{ t[l].banner.prefix|e }}{{ t[l].sitename|e }}{{ t[l].banner.suffix|e }}
</span></a></h1>
<h1><a
href=
"{{ siteurl }}/{{ l }}/"
title=
"{{ t[l].banner.title|e }}"
><img
alt=
"{{ t[l].banner.alt|e }}"
src=
"{{ siteurl }}/{{ theme.static_dir }}/images/banner-logo.png"
><span>
{{ t[l].banner.prefix|e }}{{ t[l].sitename|e }}{{ t[l].banner.suffix|e }}
</span></a></h1>
{% block extra_header %}{% endblock extra_header %}
{% block extra_header %}{% endblock extra_header %}
{% endblock header %}
{% endblock
site_
header %}
</header>
</header>
<div
class=
"nav
-container"
>
<div
id=
"sitemenu
-container"
>
<label
for=
"show-header-menu"
class=
"show-header-menu"
>
☰
</label>
<label
for=
"show-header-menu"
class=
"show-header-menu"
>
☰
</label>
<input
type=
"checkbox"
id=
"show-header-menu"
role=
"button"
>
<input
type=
"checkbox"
id=
"show-header-menu"
role=
"button"
>
<label
for=
"show-header-menu"
class=
"show-header-menu-bg"
>
</label>
<label
for=
"show-header-menu"
class=
"show-header-menu-bg"
>
</label>
{{ nav.render_menu(config.menuitems, l) }}
{{ nav.render_menu(config.menuitems, l) }}
</div>
</div>
<main>
<!--<nav class="breadcrumb">
{% block content %}
<ul>
{% endblock content %}
{% block breadcrumb %}
{% endblock breadcrumb %}
</ul>
</nav>-->
<main
class=
"content"
>
{% block main %}
{% endblock main %}
</main>
</main>
<footer>
{% block page_footer %}
{% block footer %}
{% endblock page_footer %}
<footer
id=
"site-footer"
>
{#- TODO besserer footer -#}
{#- TODO besserer footer -#}
<div>
<div>
<a
href=
"https://asta.uni-goettingen.de/impressum/datenschutz/"
>
Datenschutz
</a>
<a
href=
"https://asta.uni-goettingen.de/impressum/datenschutz/"
>
Datenschutz
</a>
...
@@ -56,8 +62,6 @@
...
@@ -56,8 +62,6 @@
<div>
<div>
<div>
Fachgruppe Informatik Göttingen, 2022.
</div>
<div>
Fachgruppe Informatik Göttingen, 2022.
</div>
<!-- blablabla datenschutz,impressum etc... -->
<!-- blablabla datenschutz,impressum etc... -->
{% block extra_footer %}{% endblock extra_footer %}
{% endblock footer %}
</footer>
</footer>
</body>
</body>
<!-- The Cake Is A Lie! -->
<!-- The Cake Is A Lie! -->
...
...
This diff is collapsed.
Click to expand it.
theme/templates/page.html
+
61
−
62
View file @
20c5b809
{% extends "base.html" %}
{% extends "base.html" %}
{% block html_lang %}{{ page.lang }}{% endblock %}
{% block title %}{{ page.title|striptags }}{% endblock %}
{% block title %}{{ page.title|striptags }}{% endblock %}
{% block extra_head %}
{% block extra_head %}
...
@@ -14,7 +12,7 @@
...
@@ -14,7 +12,7 @@
{% endif %}
{% endif %}
{% endblock %}
{% endblock %}
{% block
content
%}
{% block
main
%}
<article>
<article>
{% block page_header %}
{% block page_header %}
<header>
<header>
...
@@ -30,70 +28,71 @@
...
@@ -30,70 +28,71 @@
{{ render.sections(s, l) }}
{{ render.sections(s, l) }}
{%- endcall -%}
{%- endcall -%}
{% endblock %}
{% endblock %}
{% block page_footer %}
</article>
<footer>
{% endblock %}
<div>
{{ t[l].page.authors_prefix }}
<ul>
{% for author in page.authors %}
<li>
{{ author.name|e }}
</li>
{% endfor %}
</ul>
{{ t[l].page.authors_suffix }}
</div>
<div>
{% block page_footer %}
{{ t[l].page.published_prefix }}
<footer
class=
"page-footer content"
>
<abbr
title=
"{{ page.date_created.isoformat() }}"
>
<div>
{{ page.date_created.isoformat() }}
{{ t[l].page.authors_prefix }}
</abbr>
<ul>
{{ t[l].page.published_suffix }}
{% for author in page.authors %}
</div>
<li>
{{ author.name|e }}
</li>
{% endfor %}
</ul>
{{ t[l].page.authors_suffix }}
</div>
<div>
{{ t[l].page.modified_prefix }}
<div>
<abbr
title=
"{{ page.date_modified.isoformat() }}"
>
{{ t[l].page.published_prefix }}
{{ page.date_modified.isoformat() }}
<abbr
title=
"{{ page.date_created.isoformat() }}"
>
</abbr>
{{ page.date_created.isoformat() }}
{{ t[l].page.modified_suffix }}
</abbr>
</div>
{{ t[l].page.published_suffix }}
</div>
<div>
<div>
{{ t[l].page.modified_prefix }}
{{ t[l].page.category_prefix }}
<abbr
title=
"{{ page.date_modified.isoformat() }}"
>
{{ link.render_tag(page.category,l) }}
{{ page.date_modified.isoformat() }}
{{ t[l].page.category_suffix }}
</abbr>
</div>
{{ t[l].page.modified_suffix }}
</div>
<div>
<div>
{{ t[l].page.tags_prefix }}
{{ t[l].page.category_prefix }}
<ul>
{{ link.render_tag(page.category,l) }}
{% for tag in page.tags %}
{{ t[l].page.category_suffix }}
<li>
</div>
{{ link.render_tag(tag,l) }}
</li>
{% endfor %}
</ul>
{{ t[l].page.tags_suffix }}
</div>
<div>
<div>
{{ t[l].page.
language
s_prefix }}
{{ t[l].page.
tag
s_prefix }}
<ul
class=
"languages"
>
<ul>
{%
-
for t
lan
g in
t['supported'] -
%}
{% for t
a
g in
page.tags
%}
<li>
<li>
{{ link.render
(['slug',page.slug,tlang]|join(':'),t[tlang]['langname']
,l) }}
{{ link.render
_tag(tag
,l) }}
</li>
</li>
{%
-
endfor
-
%}
{% endfor %}
</ul>
</ul>
{{ t[l].page.
language
s_suffix }}
{{ t[l].page.
tag
s_suffix }}
</div>
</div>
<div>
<div>
{{ t[l].page.slug_prefix }}
{{ t[l].page.languages_prefix }}
<code>
{{ page.slug|e }}
</code>
<ul
class=
"languages"
>
{{ t[l].page.slug_suffix }}
{%- for tlang in t['supported'] -%}
</div>
<li>
{{ link.render(['slug',page.slug,tlang]|join(':'),t[tlang]['langname'],l) }}
</li>
{%- endfor -%}
</ul>
{{ t[l].page.languages_suffix }}
</div>
</footer>
<div>
{% endblock %}
{{ t[l].page.slug_prefix }}
</article>
<code>
{{ page.slug|e }}
</code>
{{ t[l].page.slug_suffix }}
</div>
</footer>
{% endblock %}
{% endblock %}
This diff is collapsed.
Click to expand it.
theme/templates/tag.html
+
2
−
2
View file @
20c5b809
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{%- endcall -%}
{%- endcall -%}
{%- endblock -%}
{%- endblock -%}
{% block
content
%}
{% block
main
%}
<section>
<section>
{{ render.section({"type": "tag", "tag": tag, "num": None}, l) }}
{{ render.section({"type": "tag", "tag": tag, "num": None}, l) }}
</section>
</section>
{% endblock
content
%}
{% endblock
main
%}
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