change language property

This commit is contained in:
Amir 2018-04-27 18:12:01 +04:30
parent 934530a9b7
commit 20737e99a6
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
---
layout: default
---
<div class='post {% if page.fa %}fa-post{% endif %}'>
<div class='post lang-{% if page.lang %}{{ page.lang }}{% else %}en{% endif %}'>
<div class="post-header">
<h1 class="post-title">{{ page.title }}</h1>

View File

@ -127,7 +127,7 @@ strong {
}
}
.fa-post {
.lang-fa {
font-family: $base-font-family;
direction: rtl !important;
.post-content {

View File

@ -6,7 +6,7 @@ layout: default
<ul class="post-list">
{% for post in site.posts %}
<li class='{% if post.fa %}fa-post{% endif %}'>
<li class='lang-{% if post.lang %}{{ post.lang }}{% else %}en{% endif %}'>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>