Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pelican-theme-teckids
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
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Teckids
Team PR
pelican-theme-teckids
Compare revisions
b0293b4a142ba585e7fb7dedb49b5a662266d295 to c2f3da4a5607c5368953cd398f0ef32623436792
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
Teckids/team-pr/pelican-theme-teckids
Select target project
No results found
c2f3da4a5607c5368953cd398f0ef32623436792
Select Git revision
Branches
master
set-max-carousel-img-height
Swap
Target
Teckids/team-pr/pelican-theme-teckids
Select target project
No results found
b0293b4a142ba585e7fb7dedb49b5a662266d295
Select Git revision
Branches
master
set-max-carousel-img-height
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Add content
· c2f3da4a
Tom Teichler
authored
5 years ago
Verified
c2f3da4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/base.html
+3
-0
3 additions, 0 deletions
templates/base.html
templates/page_with_carousel.html
+68
-1
68 additions, 1 deletion
templates/page_with_carousel.html
with
71 additions
and
1 deletion
templates/base.html
View file @
c2f3da4a
...
@@ -96,6 +96,9 @@
...
@@ -96,6 +96,9 @@
<!-- Page Header -->
<!-- Page Header -->
{% block header %}{% endblock %}
{% block header %}{% endblock %}
<!-- Template Content -->
{% block template_content %}{% endblock %}
<!-- Main Content -->
<!-- Main Content -->
{% block content %}{% endblock %}
{% block content %}{% endblock %}
...
...
This diff is collapsed.
Click to expand it.
templates/page_with_carousel.html
View file @
c2f3da4a
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block content %}
{% block
template_
content %}
<div
id=
"myCarousel"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
id=
"myCarousel"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-inner"
>
{% for text, image in CAROUSEL_ITEMS %}
{% for text, image in CAROUSEL_ITEMS %}
...
@@ -22,4 +22,71 @@
...
@@ -22,4 +22,71 @@
</a>
</a>
</div>
</div>
{% endblock %}
{% block content %}
<div
class=
"container title"
>
<div
class=
"row clearfix"
>
<div
class=
"column full"
>
<h1>
{{ page.title }}
</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
<section
class=
'page_content'
>
<div
class=
'container'
>
<div
class=
'row clearfix'
>
<div
class=
'column full'
>
{% block data %}
{{ page.content }}
{% endblock data %}
</div>
</div>
</div>
</section>
{% if page.modified and PAGES_DEBUG == true %}
<p>
<small>
Created: {{ page.locale_date }}
</small>
,
<small>
Last updated: {{ page.locale_modified }}
</small>
</p>
{% endif %}
{% if PAGES_DEBUG == true %}
<div
class=
'page_content debug'
>
<div>
<p>
Debug stuff. Ignore
</p>
<p>
url: {{ page.url }}
<br/>
slug: {{ page.slug }}
<br/>
{% if page.parent %}
page parent: {{ page.parent }}
<br/>
page parent url: {{ page.parent.url }}
<br/>
page parent title: {{ page.parent.title }}
{% endif %}
</p>
<p>
page parents
</p>
<ul>
<li>
page.parents.length: {{ page.parents|length }}
</li>
{% for parent in page.parents %}
<li>
url: {{ parent.url }} - title: {{ parent.title }}
<br/>
<a
href=
"/{{ parent.url }}"
>
{{ parent.title }}
</a></li>
{% endfor %}
</ul>
<p>
page children
</p>
<ul>
{% for child in page.children %}
<li>
url: {{ child.url }} - title: {{ child.title }}
<br/>
<a
href=
"/{{ child.url }}"
>
{{ child.title }}
</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% endblock %}
{% endblock %}
This diff is collapsed.
Click to expand it.