File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ def unindent(str)
4141 <title>tDiary Search</title>
4242 </head>
4343 <body>
44+ <div class="whole-content">
4445EOS
4546
4647FOOTER = unindent <<'EOS'
48+ </div>
4749 </body>
4850 </html>
4951EOS
@@ -123,7 +125,7 @@ def unindent(str)
123125end
124126$:. unshift tdiarylib
125127require 'tdiary'
126- require 'tdiary/defaultio '
128+ require 'tdiary/io/default '
127129require 'erb'
128130
129131TDIARY_ENCODING = ( TDIARY_VERSION >= '2.3.0' ) ? 'utf-8' : 'euc-jp'
@@ -316,7 +318,7 @@ def read_diaries(path)
316318def diary_class ( style )
317319 c = DIARY_CLASS_CACHE [ style ]
318320 return c if c
319- require "tdiary/#{ style . downcase } _style.rb"
321+ require "tdiary/style/ #{ style . downcase } _style.rb"
320322 c = eval ( "TDiary::#{ style . capitalize } Diary" )
321323 c . __send__ ( :include , DiaryClassDelta )
322324 DIARY_CLASS_CACHE [ style ] = c
You can’t perform that action at this time.
0 commit comments