Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslab.de
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Artem Vinokurov (Archived)
fslab.de
Commits
d066fab5
Commit
d066fab5
authored
9 years ago
by
The Server
Browse files
Options
Downloads
Patches
Plain Diff
use only one layout for blog-posts and events, mark events as... well... events.
parent
6a537cb6
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
_layouts/event.html
+0
-21
0 additions, 21 deletions
_layouts/event.html
_layouts/post.html
+10
-1
10 additions, 1 deletion
_layouts/post.html
_posts/events/2015-05-15-chaos-cologne.markdown
+1
-1
1 addition, 1 deletion
_posts/events/2015-05-15-chaos-cologne.markdown
index.html
+1
-1
1 addition, 1 deletion
index.html
with
12 additions
and
24 deletions
_layouts/event.html
deleted
100644 → 0
+
0
−
21
View file @
6a537cb6
---
layout: default
---
<div
class=
"post"
>
<header
class=
"post-header"
>
<h1
class=
"post-title"
>
{{ page.title }}
</h1>
<p
class=
"post-meta"
>
{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
</p>
<p
class=
"event-date"
>
Anfang: {{ page.eventstart | date: "%d.%m.%Y %H:%M" }}
<br
/>
Ende: {{ page.eventend | date: "%d.%m.%Y %H:%M" }}
<br
/>
Ort: {% if page.location %}{{ page.location }}{% else %}Free Software Lab{% endif %}
{% if page.organizer %}
<br
/>
Organisation: {{ page.organizer }}{% endif %}
</p>
</header>
<article
class=
"post-content"
>
{{ content }}
</article>
</div>
This diff is collapsed.
Click to expand it.
_layouts/post.html
+
10
−
1
View file @
d066fab5
...
@@ -4,8 +4,17 @@ layout: default
...
@@ -4,8 +4,17 @@ layout: default
<div
class=
"post"
>
<div
class=
"post"
>
<header
class=
"post-header"
>
<header
class=
"post-header"
>
<h1
class=
"post-title"
>
{{ page.title }}
</h1>
<h1
class=
"post-title"
>
{
% if page.categories contains 'event' %}Termin: {% endif %}{
{ page.title }}
</h1>
<p
class=
"post-meta"
>
{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
</p>
<p
class=
"post-meta"
>
{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
</p>
{% if page.categories contains 'event' %}
<p
class=
"event-date"
>
Anfang: {{ page.eventstart | date: "%d.%m.%Y %H:%M" }}
<br
/>
Ende: {{ page.eventend | date: "%d.%m.%Y %H:%M" }}
<br
/>
Ort: {% if page.location %}{{ page.location }}{% else %}Free Software Lab{% endif %}
{% if page.organizer %}
<br
/>
Organisation: {{ page.organizer }}{% endif %}
</p>
{% endif %}
</header>
</header>
<article
class=
"post-content"
>
<article
class=
"post-content"
>
...
...
This diff is collapsed.
Click to expand it.
_posts/events/2015-05-15-chaos-cologne.markdown
+
1
−
1
View file @
d066fab5
---
---
layout
:
even
t
layout
:
pos
t
title
:
"
Chaos
Cologne"
title
:
"
Chaos
Cologne"
date
:
2015-04-28 17:20:36
date
:
2015-04-28 17:20:36
eventstart
:
2015-05-15 20:00:00
eventstart
:
2015-05-15 20:00:00
...
...
This diff is collapsed.
Click to expand it.
index.html
+
1
−
1
View file @
d066fab5
...
@@ -35,7 +35,7 @@ layout: default
...
@@ -35,7 +35,7 @@ layout: default
<span
class=
"post-meta"
>
{{ post.date | date: "%b %-d, %Y" }}
</span>
<span
class=
"post-meta"
>
{{ post.date | date: "%b %-d, %Y" }}
</span>
<h2>
<h2>
<a
class=
"post-link"
href=
"{{ post.url | prepend: site.baseurl }}"
>
{{ post.title }}
</a>
<a
class=
"post-link"
href=
"{{ post.url | prepend: site.baseurl }}"
>
{
% if post.categories contains 'event' %}Termin: {% endif %}{
{ post.title }}
</a>
</h2>
</h2>
</li>
</li>
{% endfor %}
{% endfor %}
...
...
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