Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stustanet-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Sindre
stustanet-website
Commits
92e61061
Commit
92e61061
authored
7 years ago
by
Julien Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
well, we need that index file
parent
0d33e23c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
layouts/index.html
+22
-0
22 additions, 0 deletions
layouts/index.html
with
22 additions
and
0 deletions
layouts/index.html
0 → 100644
+
22
−
0
View file @
92e61061
{{ define "main" }}
<main
aria-role=
"main"
>
<header>
<h1>
{{.Title}}
</h1>
{{ with .Params.subtitle }}
<span
class=
"subtitle"
>
{{.}}
</span>
{{ end }}
</header>
<div
class=
"container"
>
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
{{.Content}}
</div>
<aside>
<h3>
Next Office Hours
</h3>
<!-- TODO: translate -->
<ul>
{{ range getJSON "https://sprechstunden.stusta.mhn.de/appointments.json"}}
<li>
{{ dateFormat "Monday, Jan 2, 2006 15:04" (int .start) }}-{{ dateFormat "15:04" (int .end) }}
</li>
{{ end }}
</ul>
</aside>
</main>
{{ end }}
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