Repos / hi.imnhan.com / a7bfff6578
commit a7bfff6578311f14b0c2e8cefc3a8f8d6c5cf121
Author: nhanb <thanhnhan483@gmail.com>
Date:   Fri Jun 14 20:42:00 2013 +0700

    update calendar

diff --git a/content/extra/cal.html b/content/extra/cal.html
new file mode 100644
index 0000000..d4a461f
--- /dev/null
+++ b/content/extra/cal.html
@@ -0,0 +1,10 @@
+<style type="text/css">
+
+iframe {
+    width: 100%;
+    height: 95%;
+}
+
+</style>
+
+<iframe src="https://www.google.com/calendar/embed?title=Nhan's%20Calendar&amp;mode=WEEK&amp;height=600&amp;wkst=2&amp;bgcolor=%23FFFFFF&amp;src=6sa929h4a1h7o000g28f5eaq4c%40group.calendar.google.com&amp;color=%23875509&amp;src=thanhnhan483%40gmail.com&amp;color=%232952A3&amp;src=hei267e0fnqprtcla140cdu46o%40group.calendar.google.com&amp;color=%2328754E&amp;ctz=Asia%2FSaigon" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>
diff --git a/pelicanconf.py b/pelicanconf.py
index 8d3c839..32a8a38 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -22,7 +22,9 @@
 # Copy static files to output
 FILES_TO_COPY = (('extra/CNAME', 'CNAME'),
                  ('extra/README.markdown', 'README.markdown'),
-                 ('extra/favicon.ico', 'favicon.ico'))
+                 ('extra/favicon.ico', 'favicon.ico'),
+                 ('extra/cal.html', 'calendar/index.html')
+                 )
 
 ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}/'
 ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}/index.html'