change language property
This commit is contained in:
parent
934530a9b7
commit
20737e99a6
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
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">
|
<div class="post-header">
|
||||||
<h1 class="post-title">{{ page.title }}</h1>
|
<h1 class="post-title">{{ page.title }}</h1>
|
||||||
|
@ -127,7 +127,7 @@ strong {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-post {
|
.lang-fa {
|
||||||
font-family: $base-font-family;
|
font-family: $base-font-family;
|
||||||
direction: rtl !important;
|
direction: rtl !important;
|
||||||
.post-content {
|
.post-content {
|
||||||
|
@ -6,7 +6,7 @@ layout: default
|
|||||||
|
|
||||||
<ul class="post-list">
|
<ul class="post-list">
|
||||||
{% for post in site.posts %}
|
{% 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>
|
<h2>
|
||||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user