Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Website
poul.org
Commits
a8aafc6d
Verified
Commit
a8aafc6d
authored
Apr 09, 2020
by
Roberto Bochet
Browse files
Fix post pages
parent
f02d9bb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
_layouts/post.html
View file @
a8aafc6d
...
...
@@ -2,7 +2,7 @@
layout: default
---
<div>
<div
class=
"container"
>
<div
class=
"container
post
"
>
{% if page.image %}
<div
class=
"featuredImage"
>
<img
src=
"{{ '/assets/img/' | prepend: site.baseurl | append: page.image }}"
alt=
""
/>
...
...
assets/_sass/modules/_post.scss
View file @
a8aafc6d
.post
{
img
{
margin
:
0
auto
;
max-height
:
20vh
;
display
:
block
;
}
img
{
margin
:
0
auto
;
max-height
:
20vh
;
display
:
block
;
}
}
\ No newline at end of file
posts/index.html
View file @
a8aafc6d
---
layout: page
title: POuL » Posts
pagetitle: Posts
---
<h1
class=
"pageTitle"
>
Posts
</h1>
...
...
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