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 @@
{%- import 'macros/content_renderer.html' as content_renderer 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>
{% block head %}
<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>
<!-- <base target="_blank"> -->
<!-- <meta HTTP-EQUIV="REFRESH" content="500; url=#"> -->
...
...
@@ -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="32x32" href="static/img/favicon-32x32.png"/>-->
<!-- <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 %}
{% endblock head %}
</head>
<body>
<body
id=
"top"
>
<!--<nav id="controls">
</nav>-->
<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>
{% block extra_header %}{% endblock extra_header %}
{% endblock header %}
{% endblock
site_
header %}
</header>
<div
class=
"nav
-container"
>
<div
id=
"sitemenu
-container"
>
<label
for=
"show-header-menu"
class=
"show-header-menu"
>
☰
</label>
<input
type=
"checkbox"
id=
"show-header-menu"
role=
"button"
>
<label
for=
"show-header-menu"
class=
"show-header-menu-bg"
>
</label>
{{ nav.render_menu(config.menuitems, l) }}
</div>
<main>
{% block content %}
{% endblock content %}
<!--<nav class="breadcrumb">
<ul>
{% block breadcrumb %}
{% endblock breadcrumb %}
</ul>
</nav>-->
<main
class=
"content"
>
{% block main %}
{% endblock main %}
</main>
<footer>
{% block footer %}
{% block page_footer %}
{% endblock page_footer %}
<footer
id=
"site-footer"
>
{#- TODO besserer footer -#}
<div>
<a
href=
"https://asta.uni-goettingen.de/impressum/datenschutz/"
>
Datenschutz
</a>
...
...
@@ -56,8 +62,6 @@
<div>
<div>
Fachgruppe Informatik Göttingen, 2022.
</div>
<!-- blablabla datenschutz,impressum etc... -->
{% block extra_footer %}{% endblock extra_footer %}
{% endblock footer %}
</footer>
</body>
<!-- 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" %}
{% block html_lang %}{{ page.lang }}{% endblock %}
{% block title %}{{ page.title|striptags }}{% endblock %}
{% block extra_head %}
...
...
@@ -14,7 +12,7 @@
{% endif %}
{% endblock %}
{% block
content
%}
{% block
main
%}
<article>
{% block page_header %}
<header>
...
...
@@ -30,70 +28,71 @@
{{ render.sections(s, l) }}
{%- endcall -%}
{% endblock %}
{% block page_footer %}
<footer>
<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>
</article>
{% endblock %}
<div>
{{ t[l].page.published_prefix }}
<abbr
title=
"{{ page.date_created.isoformat() }}"
>
{{ page.date_created.isoformat() }}
</abbr>
{{ t[l].page.published_suffix }}
</div>
{% block page_footer %}
<footer
class=
"page-footer content"
>
<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>
{{ t[l].page.modified_prefix }}
<abbr
title=
"{{ page.date_modified.isoformat() }}"
>
{{ page.date_modified.isoformat() }}
</abbr>
{{ t[l].page.modified_suffix }}
</div>
<div>
{{ t[l].page.published_prefix }}
<abbr
title=
"{{ page.date_created.isoformat() }}"
>
{{ page.date_created.isoformat() }}
</abbr>
{{ t[l].page.published_suffix }}
</div>
<div>
{{ t[l].page.category_prefix }}
{{ link.render_tag(page.category,l) }}
{{ t[l].page.category_suffix }}
</div>
<div>
{{ t[l].page.modified_prefix }}
<abbr
title=
"{{ page.date_modified.isoformat() }}"
>
{{ page.date_modified.isoformat() }}
</abbr>
{{ t[l].page.modified_suffix }}
</div>
<div>
{{ t[l].page.tags_prefix }}
<ul>
{% for tag in page.tags %}
<li>
{{ link.render_tag(tag,l) }}
</li>
{% endfor %}
</ul>
{{ t[l].page.tags_suffix }}
</div>
<div>
{{ t[l].page.category_prefix }}
{{ link.render_tag(page.category,l) }}
{{ t[l].page.category_suffix }}
</div>
<div>
{{ t[l].page.
language
s_prefix }}
<ul
class=
"languages"
>
{%
-
for t
lan
g in
t['supported'] -
%}
<li>
{{ link.render
(['slug',page.slug,tlang]|join(':'),t[tlang]['langname']
,l) }}
</li>
{%
-
endfor
-
%}
</ul>
{{ t[l].page.
language
s_suffix }}
</div>
<div>
{{ t[l].page.
tag
s_prefix }}
<ul>
{% for t
a
g in
page.tags
%}
<li>
{{ link.render
_tag(tag
,l) }}
</li>
{% endfor %}
</ul>
{{ t[l].page.
tag
s_suffix }}
</div>
<div>
{{ t[l].page.slug_prefix }}
<code>
{{ page.slug|e }}
</code>
{{ t[l].page.slug_suffix }}
</div>
<div>
{{ t[l].page.languages_prefix }}
<ul
class=
"languages"
>
{%- for tlang in t['supported'] -%}
<li>
{{ link.render(['slug',page.slug,tlang]|join(':'),t[tlang]['langname'],l) }}
</li>
{%- endfor -%}
</ul>
{{ t[l].page.languages_suffix }}
</div>
</footer>
{% endblock %}
</article>
<div>
{{ t[l].page.slug_prefix }}
<code>
{{ page.slug|e }}
</code>
{{ t[l].page.slug_suffix }}
</div>
</footer>
{% endblock %}
This diff is collapsed.
Click to expand it.
theme/templates/tag.html
+
2
−
2
View file @
20c5b809
...
...
@@ -5,8 +5,8 @@
{%- endcall -%}
{%- endblock -%}
{% block
content
%}
{% block
main
%}
<section>
{{ render.section({"type": "tag", "tag": tag, "num": None}, l) }}
</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