Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
web
Commits
008e1152
Commit
008e1152
authored
Dec 03, 2020
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add subtitles to blog list and tag list
parent
178c6e84
Pipeline
#1384
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
14 deletions
+25
-14
_layouts/tag.html
_layouts/tag.html
+15
-10
blog/index.html
blog/index.html
+9
-4
css/posts.scss
css/posts.scss
+1
-0
No files found.
_layouts/tag.html
View file @
008e1152
...
...
@@ -6,12 +6,12 @@ layout: default
{% assign tag = site.data.tags[page.tag] %}
<section
class=
"tag-title"
>
<header>
<h1>
Tag: {{ tag.name }}
</h1>
</header>
<header>
<h1>
Tag: {{ tag.name }}
</h1>
</header>
<hr>
{{ tag.desc }}
<hr>
{{ tag.desc }}
</section>
{% for post in site.posts %}
...
...
@@ -20,11 +20,16 @@ layout: default
<header
class=
"post-title"
>
<h1>
<a
href=
"{{site.base-url}}{{ post.url }}#main"
>
{{ post.title }}
</a>
<time
datetime=
"{{ post.date | date_to_xmlschema }}"
class=
"post-date"
>
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.tags.size > 0 %}
</h1>
</h1>
<time
datetime=
"{{ post.date | date_to_xmlschema }}"
class=
"post-date"
>
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %}
<ol
class=
"tags-list"
>
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
...
...
blog/index.html
View file @
008e1152
...
...
@@ -9,11 +9,16 @@ layout: default
<header
class=
"post-title"
>
<h1>
<a
href=
"{{site.base-url}}{{ post.url }}#main"
>
{{ post.title }}
</a>
<time
datetime=
"{{ post.date | date_to_xmlschema }}"
class=
"post-date"
>
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.tags.size > 0 %}
</h1>
<time
datetime=
"{{ post.date | date_to_xmlschema }}"
class=
"post-date"
>
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %}
<ol
class=
"tags-list"
>
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
...
...
css/posts.scss
View file @
008e1152
...
...
@@ -218,6 +218,7 @@ header>h1>a:link, header>h1>a:visited {
.post-title
>
h2
{
flex-basis
:
50%
;
margin
:
auto
0
;
font-size
:
1
.3em
;
}
.post-title
>
ol
.tags-list
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment