Sha256: c5ccac6c66ca1fe111386de6db26e6f91db04d8dc85678d9853b57bdd6eccea5
Contents?: true
Size: 692 Bytes
Versions: 9
Compression:
Stored size: 692 Bytes
Contents
module Jekyll module Golink module Theme module IndexMD # Create index markdown page, responsible for launching the homepage of the site. def create_index_md(filename,layout) File.open(filename, 'w') do |file| file.puts "---" file.puts "# You don't need to edit this file, it's empty on purpose." file.puts "# Edit theme's home layout instead if you wanna make some changes" file.puts "# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults" file.puts "layout: #{layout}" file.puts "---" file.puts "" end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems