Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teckids.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Teckids
Team PR
teckids.org
Commits
e86b1349
Unverified
Commit
e86b1349
authored
1 month ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Use event: prefix in RDFa
parent
7413181d
No related branches found
No related tags found
No related merge requests found
Pipeline
#198002
passed with warnings
1 month ago
Stage: test
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/base.html
+5
-1
5 additions, 1 deletion
templates/base.html
templates/shortcodes/teckids_event.html
+2
-2
2 additions, 2 deletions
templates/shortcodes/teckids_event.html
with
7 additions
and
3 deletions
templates/base.html
+
5
−
1
View file @
e86b1349
...
...
@@ -4,7 +4,11 @@
{% set thing = section -%}
{% endif -%}
<!DOCTYPE html>
<html
lang=
"{{ lang }}"
data-theme=
"light"
{%
if
current_path
%}
resource=
"https://www.teckids.org{{ current_path }}"
{%
endif
%}
typeof=
"{% block rdfa_type %}{{ thing.extra.microdata.type | default(value='schema:WebPage') }}{% endblock rdfa_type %}"
>
<html
lang=
"{{ lang }}"
data-theme=
"light"
{%
if
current_path
%}
resource=
"https://www.teckids.org{{ current_path }}"
{%
endif
%}
typeof=
"{% block rdfa_type %}{{ thing.extra.microdata.type | default(value='schema:WebPage') }}{% endblock rdfa_type %}"
prefix=
"event: https://ticdesk.teckids.org/o/paweljong/Event/"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
...
...
This diff is collapsed.
Click to expand it.
templates/shortcodes/teckids_event.html
+
2
−
2
View file @
e86b1349
{% set events_data = load_data(path="events.json") -%}
{% set event = events_data[slug] -%}
{% if not no_title %}
<h2
class=
"title is-2"
>
{{ title | default(value="Informationen und Anmeldung") }}
</h2>
{% endif %}
<section
class=
"section event-section"
resource=
"
https://ticdesk.teckids.org/app/paweljong/
event
/
{{ slug }}"
vocab=
"http://schema.org/"
typeof=
"Event"
>
<section
class=
"section event-section"
resource=
"event
:
{{ slug }}"
vocab=
"http://schema.org/"
typeof=
"Event"
>
<meta
property=
"organizer"
href=
"https://teckids.org/"
/>
<div
class=
"card event-card"
>
<div
class=
"card-content"
>
...
...
@@ -50,7 +50,7 @@
<div
class=
"column is-one-third"
>
<div
class=
"buttons are-responsive are-medium"
>
<a
class=
"button is-primary is-fullwidth is-justify-content-start"
href=
"
https://ticdesk.teckids.org/app/paweljong/
event
/
{{ slug }}"
>
href=
"event
:
{{ slug }}"
>
<span
class=
"icon"
><i
class=
"fa-regular fa-paper-plane"
></i></span>
<span>
{{ trans(key="event_info_registration", lang=lang) }}
</span>
</a>
...
...
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