Jekyll and GitHub Pages Liquid Date Formatting ExamplesOctober, 2013 TODO: Figure out why this isn't working in MDX <img src="/image-graphics/jekyll-logo-180x100.png" style="float: right; padding-left:26px;" /> *Note: Since originally posting this, I have learned a better way to remove leading zeros is to use `{% raw %}{{ page.date | date: "%-m" }}{% endraw %}`. Note the dash in front of the "m".
先日、GitHub Pages が Jekyll 3.0 になりました。 GitHub Pages now faster and simpler with Jekyll 3.0 · GitHub GitHub Pages is now running the latest major version of Jekyll, Jekyll 3.0 , and with it, many of th... https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0 速くなったという事でとても喜ばしいのですが、良い事はそれだけではなかった。GitHub Pages を使ってのブログ作成方法については、これまでこのブログでも幾つか紹介して来ました。 Big Sky :: Jekyllで始める簡単ブロ
Update: Using Github Pages to serve up your blog? Me, too! Even though plugins won’t work on Github Pages, you can still have tags on your site. You just need to generate the site locally, commit it to your repo, and Github will serve it up. (That’s what I’m doing here.) I explain exactly how I do it (and how I automated the whole process) in another post, Jekyll + Plugins + Github + You. When I d
す、すいません… ベタなタイトルで…。 Jekyll Version 1.0 2013年5月5日にJekyllのVersion 1.0がリリースされました。 Jekyll • Simple, blog-aware, static sites Jekyll 1.0 Released - Musings of Parker J. Moore 2011年12月のVersion0.11.2以降、Jekyllの開発は停滞気味でした。しかし、parkr (Parker Moore)氏がJekyllのcontributorとして参加したことを機に、昨年12月15日頃から新たな胎動が始まり、同22日に大きな問題を解決したVersion0.12.0がリリースされました。その後も怒涛の勢いでコミットが投げられ、遂に、5月5日にVersion 1.0がリリースされたのでした。GithubにおけるCommit A
Reformat a date %a - The abbreviated weekday name (``Sun'') %A - The full weekday name (``Sunday'') %b - The abbreviated month name (``Jan'') %B - The full month name (``January'') %c - The preferred local date and time representation %d - Day of the month (01..31) %H - Hour of the day, 24-hour clock (00..23) %I - Hour of the day, 12-hour clock (01..12) %j - Day of the year (001..366) %m - Month o
Jekyll is a static site generator. It takes text written in your favorite markup language and uses layouts to create a static website. You can tweak the site’s look and feel, URLs, the data displayed on the page, and more. Prerequisites Jekyll requires the following: Ruby version 2.5.0 or higher RubyGems GCC and Make See Requirements for guides and details. Instructions Install all prerequisites.
$ sudo gem install rails Building native extensions. This could take a while… ERROR: Error installing rails: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h いろいろ調べたところ結局macのCommand line toolsがインストールされていないこ
最近?結構前から?WordPressやMovable TypeといったCMS(コンテンツマネジメントシステムの略)が流行していて、見かけるサイトのほとんどが、おそらくCMSで作られたサイトなのだろうという状態になっています。 ちなみに、ブログもCMSの一種です。 CMSの多くは、PHPを使用した動的なページで構成されているため、PHPが使えない環境だと使用できません。 そして、ほとんどの無料ウェブスペースでは、PHPは使用できません。 探せば、PHPが使用できる無料のウェブスペースもありますが、ワードプレスを使うことは出来なかったり、禁止されていたりします(負荷が大きいため) そういったウェブスペースでも、ワードプレスのようなサイトを構築することが出来ます。 jekyll というソフトを使います。 jekyllとは、ジキル博士とハイド氏のジキルです。 いかにもあやしい感じがしますね(笑)
本サイトをjekyllで構築するにあたり、前段階としてWindowsで使えるようにするにはいくつかハマりどころがありましたので、その解決法を紹介します。 このサイトはjekyllを用いて構築しています。jekyllはLinuxやMacOSXで使うなら情報も多く難しいところは無いのですが、WindowsでしかもRuby-2.0.0でやろうとするといくつかハマりどころがありました。だから本記事ではそれらのハマりどころと解決方法を紹介しましょう。 必須ソフト まずは以下のソフトをインストールしましょう。 MinGW/Msys Ruby-2.0.0 MinGW/Msysは mingw-get-inst-20120426.exe をダウンロードし、インストールしてPATHを通します。これはRubyのいくつかの(ネイティブ)モジュールをコンパイルするのに必要です。 Rubyは インストーラー版 が手軽
俺の最強ブログ システムが火を噴くぜ - てっく煮ブログ これとJekyll、DISQUS、Githubを使ってるところあたりはほとんど同じだった。 元記事がレンタルサーバーにデプロイしてるのに対してこっちはgithub pagesにデプロイしてる。サーバーも用意しなくていいからお手軽かつ最強だぜ〜。 ただgithub pagesに直接Jekyllのソース上げるとplugin使えなかったりして不便なんでJekyllで生成した静的ファイルをgh-pagesブランチにコミットしていて masterブランチ -> ソース gh-pagesブランチ -> 生成したファイル ってしてるんだけど、いちいちブランチ切り替えてなんちゃらしたりhookスクリプトでほげほげするのは面倒なんで $ rake deploy ってやるとJekyllのビルドが走って生成したファイルコピーしてgh-pagesにコミット
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く