Git Product home page Git Product logo

jekyll-jalali's Introduction

jekyll-jalali Gem Version

This plugin adds a new filter to Jekyll called jdate. Using this filter the given dates will be converted to Jalali which is being used in Iran and Afghanistan. For more information see Iranian Calendars Entry in Wikipedia.

Installation

Append gem jekyll-jalali to the plugins vector (formerly know as gems) of your website's _config.yml file. You can also put the jekyll-jalali.rb file inside _plugins directory of your website. You can install it from Rubygems too:

gem install jekyll-jalali

Usage

Use it as a Liquid filter inside any Jekyll template:

{{ page.date | jdate: "%A %d %b %Y"}}

jdate accepts valid formatting parameters according to jalalidate Ruby gem.

Credits

This plugin uses jalalidate gem for date conversion.

License

MIT

در مورد فارسی‌نویسی

در هنگام گزارش مشکلات یا شرح تغییرات، فارسی نوشتن خیلی هم خوب است. فقط یک شرط دارد! متن را درون تگ راست به چپ شده بنویسید که درست نمایش داده بشود. اگر هم دوست دارید انگلیسی بنویسید هیچ اشکالی ندارد.

<div dir="rtl" lang="fa">مطلب مورد نظر</div>

jekyll-jalali's People

Contributors

aidin36 avatar mehdisadeghi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mhdzli

jekyll-jalali's Issues

پیشنهاد توسعه

سلام پیشنهادی دارم برای افزودن قابلیت نمایش رویداد به برنامه ای که توسعه دادید

الان که همه ی سیستم ها به اینترنت متصل هستند پیشنهاد میکنم ارتباط با ای پی آي های تقویم رو هم در این سورس خوب پیاده سازی کنید
خودم از این سرویس زیاد استفاده میکنم


وب سرویس تقویم فارسی

اطلاعات خوبی ارائه میده مثل وقایع و مناسبت های هر روز و دریافت رویداد در حالت شمسی و قمری و میلادی

Did not work when deploy on github

هر طوری که بود موفق شدم پلاگین رو نصب کنم. و روی لوکال بدرستی نمایش داده میشه. اما وقتی فایل هارو کامیت میکنم٬ تبدیل تاریخ ها انجام نمیشه! این هم آدرس

بلاگ من

همچنین این مورد رو بگم من فقط فایل های مربوط به جکیل رو دیپلوی میکنم و از کامیت کردن فایل های خروجی _site خودداری میکنم.

فکر میکنم توی وبلاگ شما هم که بدرستی کار میکنه دلیلش این باشه که شما فایل های html css نهایی رو کامیت میکنید!

امیدوارم تونسته باشم مشکل رو برسونم

English numbers

I used the code {{ page.date | jdate: "%A %d %b %Y"}}, but it generates english numbers like this:

‫شنبه 12 فروردین 1396

While I was expected for:

‫شنبه ۱۲ فروردین ۱۳۹۶

What should I do to turn numbers to Farsi?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.