- templating
- i18n
- RWD (responsive web design)
$ make install
python app.py
$ make extract_i18n
$ # update *.po files
$ make update_i18n
Add the script below to the corresponding page:
<script type="text/javascript" src="{{ url_for('static', filename='js/snudm-notice.js') }}"></script>
- Create a file in
/templates/notices
. The file should be named:[id]-[title].md
- If
id
is a 6 digit number, it will be recognized as the document creation date and shown on the notice page. - The notice page will be found at
http://[your_host]/ko/notices/[id]
(ex: http://localhost:8088/ko/notices/20141206) - Notices currently do not distinguish locales;
http://[your_host]/ko/notices/[id]
,http://[your_host]/en/notices/[id]
will have the same contents.