aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-14 20:58:38 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-14 20:58:38 +0200
commita31f3f5a8d4798ed6ac91d8fac60ca399e0e2508 (patch)
tree3aa3e89b7c236b097f9bdb1b1f39ae9897239d87 /lib
parentef72ddc84ec79d7b415b83bf3862d53430f51661 (diff)
downloadrss2html-a31f3f5a8d4798ed6ac91d8fac60ca399e0e2508.tar.gz
rss2html-a31f3f5a8d4798ed6ac91d8fac60ca399e0e2508.tar.bz2
rss2html-a31f3f5a8d4798ed6ac91d8fac60ca399e0e2508.zip
Include version by default.
Diffstat (limited to 'lib')
-rw-r--r--lib/rss2html.rb1
-rw-r--r--lib/rss2html/views/feed_footer.html.erb5
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/rss2html.rb b/lib/rss2html.rb
index 6d95382..ebcc3e7 100644
--- a/lib/rss2html.rb
+++ b/lib/rss2html.rb
@@ -14,5 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+require 'rss2html/version'
require 'rss2html/feed'
require 'rss2html/feed_item'
diff --git a/lib/rss2html/views/feed_footer.html.erb b/lib/rss2html/views/feed_footer.html.erb
index c63a94a..344b808 100644
--- a/lib/rss2html/views/feed_footer.html.erb
+++ b/lib/rss2html/views/feed_footer.html.erb
@@ -1 +1,4 @@
-</section> \ No newline at end of file
+</section>
+<footer>
+Generated using Rss2Html version <%= Rss2Html::VERSION %>.
+</footer> \ No newline at end of file