diff --git a/_layouts/post.html b/_layouts/post.html index 0b6e6a2..f6474d6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,7 +1,7 @@ --- layout: default --- -
+

{{ page.title }}

diff --git a/_posts/2018-04-27-persian.md b/_posts/2018-04-27-persian.md new file mode 100644 index 0000000..2525b75 --- /dev/null +++ b/_posts/2018-04-27-persian.md @@ -0,0 +1,17 @@ +--- +layout: post +title: "پست فارسی" +date: 2018-04-27 +permalink: persian-post/ +categories: life +excerpt_separator: +fa: true +author: Amir +--- + + +همیشه وقتی به زندگی نگاه می‌کنی متوجه یه سری چیزایی میشی که دوست داری باشن. اما همیشه زندگی بودن‌ها نیست. خیلی وقت‌ها خیلی چیزا رو نداری و همیشه به این فکر میکنی که چی میشد اگه داشتمش و یا چطوری میتونم داشته باشمش. + + + +خب زندگی همیشه اون چیزی که ما میخوایم نیست و حتی این دنیا هم دنیایی نیست که ما انتظارش رو داریم. همیشه اتفاقای جدید و خاطرات جدیی برامون ثبت میشن. \ No newline at end of file diff --git a/_sass/_base.scss b/_sass/_base.scss index 5c06995..a18f99b 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -232,3 +232,30 @@ pre { font-family: Mononoki; src: url(fonts/mononoki-Regular.woff); } + +@font-face { + font-family: Sahel; + src: url(fonts/Sahel.eot); + src: url(fonts/Sahel.eot?#iefix) format('embedded-opentype'), + url(fonts/Sahel.woff) format('woff'), + url(fonts/Sahel.ttf) format('truetype'); + font-weight: normal; +} + +@font-face { + font-family: Sahel; + src: url(fonts/Sahel-Bold.eot); + src: url(fonts/Sahel-Bold.eot?#iefix) format('embedded-opentype'), + url(fonts/Sahel-Bold.woff) format('woff'), + url(fonts/Sahel-Bold.ttf) format('truetype'); + font-weight: bold; +} + +@font-face { + font-family: Sahel; + src: url(fonts/Sahel-Black.eot); + src: url(fonts/Sahel-Black.eot?#iefix) format('embedded-opentype'), + url(fonts/Sahel-Black.woff) format('woff'), + url(fonts/Sahel-Black.ttf) format('truetype'); + font-weight: 900; +} diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 28c759b..1470dae 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -127,6 +127,19 @@ strong { } } +.fa-post { + font-family: $base-font-family; + direction: rtl !important; + .post-content { + text-align: right; + font-size: 1.05em; + line-height: 1.718em; + } + .share-page { + direction: ltr; + } +} + .post-content .heading-link { display: block; position: absolute; diff --git a/css/fonts/Sahel-Black.eot b/css/fonts/Sahel-Black.eot new file mode 100644 index 0000000..02749b0 Binary files /dev/null and b/css/fonts/Sahel-Black.eot differ diff --git a/css/fonts/Sahel-Black.ttf b/css/fonts/Sahel-Black.ttf new file mode 100644 index 0000000..227fcc8 Binary files /dev/null and b/css/fonts/Sahel-Black.ttf differ diff --git a/css/fonts/Sahel-Black.woff b/css/fonts/Sahel-Black.woff new file mode 100644 index 0000000..0fa592f Binary files /dev/null and b/css/fonts/Sahel-Black.woff differ diff --git a/css/fonts/Sahel-Black.woff2 b/css/fonts/Sahel-Black.woff2 new file mode 100644 index 0000000..df2a2e6 Binary files /dev/null and b/css/fonts/Sahel-Black.woff2 differ diff --git a/css/fonts/Sahel-Bold.eot b/css/fonts/Sahel-Bold.eot new file mode 100644 index 0000000..29563fa Binary files /dev/null and b/css/fonts/Sahel-Bold.eot differ diff --git a/css/fonts/Sahel-Bold.ttf b/css/fonts/Sahel-Bold.ttf new file mode 100644 index 0000000..02d5b92 Binary files /dev/null and b/css/fonts/Sahel-Bold.ttf differ diff --git a/css/fonts/Sahel-Bold.woff b/css/fonts/Sahel-Bold.woff new file mode 100644 index 0000000..6edb49e Binary files /dev/null and b/css/fonts/Sahel-Bold.woff differ diff --git a/css/fonts/Sahel-Bold.woff2 b/css/fonts/Sahel-Bold.woff2 new file mode 100644 index 0000000..efde3ce Binary files /dev/null and b/css/fonts/Sahel-Bold.woff2 differ diff --git a/css/fonts/Sahel.eot b/css/fonts/Sahel.eot new file mode 100644 index 0000000..8cfedc8 Binary files /dev/null and b/css/fonts/Sahel.eot differ diff --git a/css/fonts/Sahel.ttf b/css/fonts/Sahel.ttf new file mode 100644 index 0000000..508eadf Binary files /dev/null and b/css/fonts/Sahel.ttf differ diff --git a/css/fonts/Sahel.woff b/css/fonts/Sahel.woff new file mode 100644 index 0000000..d0cb375 Binary files /dev/null and b/css/fonts/Sahel.woff differ diff --git a/css/fonts/Sahel.woff2 b/css/fonts/Sahel.woff2 new file mode 100644 index 0000000..6dcbfc1 Binary files /dev/null and b/css/fonts/Sahel.woff2 differ diff --git a/css/main.scss b/css/main.scss index b802182..32eabb6 100644 --- a/css/main.scss +++ b/css/main.scss @@ -4,7 +4,7 @@ @charset "utf-8"; // Our variables -$base-font-family: 'Nunito', Open Sans, sans-serif; +$base-font-family: 'Nunito', 'Sahel', Open Sans, sans-serif; $head-font-family: 'Secular One', sans-serif; $base-font-size: 12pt; $small-font-size: $base-font-size * 0.875; diff --git a/index.html b/index.html index 4318f5a..6f34a43 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ layout: default