Class: Fronde::Source::Html

Inherits:
Source
  • Object
show all
Defined in:
lib/fronde/source/html.rb

Overview

Specific settings for HTML Fronde::Source

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.org_default_postambleObject



14
15
16
17
18
19
20
21
# File 'lib/fronde/source/html.rb', line 14

def org_default_postamble
  <<~POSTAMBLE
    <p><span class="author">#{I18n.t('fronde.org.postamble.written_by')}</span>
    #{I18n.t('fronde.org.postamble.with_emacs_html')}</p>
    <p class="date">#{I18n.t('fronde.org.postamble.last_modification')}</p>
    <p class="validation">%v</p>
  POSTAMBLE
end

Instance Method Details

#org_configObject



7
8
9
10
11
# File 'lib/fronde/source/html.rb', line 7

def org_config
  config = super
  config[0]['theme'] = @config['theme']
  config
end