Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ant.sr
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Anton Sarukhanov
ant.sr
Commits
d5f5094a
Commit
d5f5094a
authored
7 years ago
by
Anton Sarukhanov
Browse files
Options
Downloads
Patches
Plain Diff
Add description to headers, tweak wording.
parent
88b1b0c7
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theme/static/css/style.css
+7
-2
7 additions, 2 deletions
theme/static/css/style.css
theme/templates/article.html
+7
-2
7 additions, 2 deletions
theme/templates/article.html
with
14 additions
and
4 deletions
theme/static/css/style.css
+
7
−
2
View file @
d5f5094a
...
...
@@ -375,8 +375,13 @@ main img {
main
.hero
{
display
:
block
;
}
main
header
h1
+
.time
,
main
header
h2
+
.time
{
main
header
.description
{
margin-top
:
-.8em
;
font-size
:
1.25em
;
color
:
#aaa
;
}
main
header
h1
~
.time
,
main
header
h2
~
.time
{
display
:
block
;
margin-top
:
-1em
;
}
...
...
This diff is collapsed.
Click to expand it.
theme/templates/article.html
+
7
−
2
View file @
d5f5094a
...
...
@@ -31,12 +31,17 @@
<h1>
{{ article.title }}
</h1>
{% if article.description %}
<p
class=
"description"
>
{{ article.description }}
</p>
{% endif %}
<p
class=
"time"
>
<time
datetime=
"{{ article.date.isoformat() }}"
>
Posted
on
{{ article.locale_date }}
</time>
Posted {{ article.locale_date }}
.
</time>
{% if article.modified %}
<time
datetime=
"{{ article.modified.isoformat() }}"
>
Modified on
{{ article.locale_modified }}
</time>
Updated
{{ article.locale_modified }}
.
</time>
{% endif %}
</p>
</header>
...
...
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