Skip to content

Commit

Permalink
Trim all ERB by default
Browse files Browse the repository at this point in the history
(thanks @railsbros_dirk)!
  • Loading branch information
bascht committed Jan 13, 2016
1 parent 6c20273 commit 1f953f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

* My Talks


- [[file:2016-01-munich-rubyshift/][2016-01-munich-rubyshift/]]
- [[file:2015-12-munich-rubyshift/][2015-12-munich-rubyshift/]]
- [[file:2015-11-munich-rubyshift/][2015-11-munich-rubyshift/]]
Expand Down Expand Up @@ -36,4 +35,4 @@ Unless noted otherwise, all content in this repository is free for you
to use under the terms of the [[http://creativecommons.org/licenses/by-sa/4.0/][Attribution-ShareAlike 4.0 International
(CC BY-SA 4.0)]] license.

Generated: 2016-01-13 17:25:51 +0100
Generated: 2016-01-13 18:09:32 +0100
3 changes: 2 additions & 1 deletion README.org.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* My Talks

<% talks.each do |talk| %>
- [[file:<%= talk %>][<%= talk %>]]<% end %>
- [[file:<%= talk %>][<%= talk %>]]
<% end %>

This is a (non-comprehensive) list of talks I gave at various user
groups & conferences. If you have any questions, feel free to reach
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ end

task :index do
README = File.read('README.org.erb')
index = ERB.new(README).result(binding)
index = ERB.new(README, nil, "<>").result(binding)
File.open('README.org', 'w') {|f| f.write(index) }
@logger.info("Rebuilt ORG index.")
dontbotherme("emacs --batch -l ~//.emacs.d/init.el --visit=README.org --funcall org-html-export-to-html")
Expand Down

0 comments on commit 1f953f6

Please sign in to comment.