├── .gitignore ├── .meteor ├── .finished-upgraders ├── .gitignore ├── .id ├── packages ├── platforms ├── release └── versions ├── README.md ├── client ├── blog.html ├── footer.html ├── header.html ├── home.html ├── layout.html └── show.html ├── lib └── blog.js └── routes.js /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /.meteor/.finished-upgraders: -------------------------------------------------------------------------------- 1 | # This file contains information which helps Meteor properly upgrade your 2 | # app when you run 'meteor update'. You should check it into version control 3 | # with your project. 4 | 5 | notices-for-0.9.0 6 | notices-for-0.9.1 7 | 0.9.4-platform-file 8 | notices-for-facebook-graph-api-2 9 | 1.2.0-standard-minifiers-package 10 | 1.2.0-meteor-platform-split 11 | 1.2.0-cordova-changes 12 | 1.2.0-breaking-changes 13 | 1.3.0-split-minifiers-package 14 | -------------------------------------------------------------------------------- /.meteor/.gitignore: -------------------------------------------------------------------------------- 1 | local 2 | -------------------------------------------------------------------------------- /.meteor/.id: -------------------------------------------------------------------------------- 1 | # This file contains a token that is unique to your project. 2 | # Check it into your repository along with the rest of this directory. 3 | # It can be used for purposes such as: 4 | # - ensuring you don't accidentally deploy one app on top of another 5 | # - providing package authors with aggregated statistics 6 | 7 | 1celi4jvdu9dxf9nvuq 8 | -------------------------------------------------------------------------------- /.meteor/packages: -------------------------------------------------------------------------------- 1 | # Meteor packages used by this project, one per line. 2 | # Check this file (and the other files in this directory) into your repository. 3 | # 4 | # 'meteor add' and 'meteor remove' will edit this file for you, 5 | # but you can also edit it by hand. 6 | 7 | ryw:blog 8 | iron:router 9 | twbs:bootstrap 10 | accounts-password 11 | ian:accounts-ui-bootstrap-3 12 | meteor-base 13 | mobile-experience 14 | mongo 15 | blaze-html-templates 16 | session 17 | jquery 18 | tracker 19 | logging 20 | reload 21 | random 22 | ejson 23 | spacebars 24 | check 25 | standard-minifier-css 26 | standard-minifier-js 27 | -------------------------------------------------------------------------------- /.meteor/platforms: -------------------------------------------------------------------------------- 1 | server 2 | browser 3 | -------------------------------------------------------------------------------- /.meteor/release: -------------------------------------------------------------------------------- 1 | METEOR@1.3.1 2 | -------------------------------------------------------------------------------- /.meteor/versions: -------------------------------------------------------------------------------- 1 | accounts-base@1.2.5 2 | accounts-password@1.1.7 3 | alanning:roles@1.2.15 4 | allow-deny@1.0.3 5 | anti:i18n@0.4.3 6 | aslagle:reactive-table@0.5.13 7 | autoupdate@1.2.7 8 | babel-compiler@6.6.1 9 | babel-runtime@0.1.7 10 | base64@1.0.7 11 | binary-heap@1.0.7 12 | blaze@2.1.6 13 | blaze-html-templates@1.0.3 14 | blaze-tools@1.0.7 15 | boilerplate-generator@1.0.7 16 | caching-compiler@1.0.3 17 | caching-html-compiler@1.0.5 18 | callback-hook@1.0.7 19 | cfs:access-point@0.1.49 20 | cfs:base-package@0.0.30 21 | cfs:collection@0.5.5 22 | cfs:collection-filters@0.2.4 23 | cfs:data-man@0.0.6 24 | cfs:file@0.1.17 25 | cfs:gridfs@0.0.33 26 | cfs:http-methods@0.0.32 27 | cfs:http-publish@0.0.13 28 | cfs:power-queue@0.9.11 29 | cfs:reactive-list@0.0.9 30 | cfs:reactive-property@0.0.4 31 | cfs:s3@0.1.3 32 | cfs:standard-packages@0.5.9 33 | cfs:storage-adapter@0.2.3 34 | cfs:tempstore@0.1.5 35 | cfs:upload-http@0.0.20 36 | cfs:worker@0.1.4 37 | check@1.1.3 38 | chuangbo:cookie@1.1.0 39 | coffeescript@1.0.16 40 | ddp@1.2.4 41 | ddp-client@1.2.4 42 | ddp-common@1.2.4 43 | ddp-rate-limiter@1.0.3 44 | ddp-server@1.2.5 45 | deps@1.0.11 46 | diff-sequence@1.0.4 47 | ecmascript@0.4.2 48 | ecmascript-runtime@0.2.9 49 | ejson@1.0.10 50 | email@1.0.11 51 | fastclick@1.0.10 52 | flawless:meteor-toastr@1.0.1 53 | fortawesome:fontawesome@4.2.0_2 54 | geojson-utils@1.0.7 55 | hot-code-push@1.0.3 56 | html-tools@1.0.8 57 | htmljs@1.0.8 58 | http@1.1.4 59 | ian:accounts-ui-bootstrap-3@1.2.89 60 | id-map@1.0.6 61 | iron:controller@1.0.12 62 | iron:core@1.0.11 63 | iron:dynamic-template@1.0.12 64 | iron:layout@1.0.12 65 | iron:location@1.0.11 66 | iron:middleware-stack@1.0.11 67 | iron:router@1.0.12 68 | iron:url@1.0.11 69 | jquery@1.11.7 70 | kaptron:minimongoid@0.9.8 71 | launch-screen@1.0.10 72 | less@2.5.7 73 | liberation:shareit@1.0.3 74 | livedata@1.0.17 75 | localstorage@1.0.8 76 | logging@1.0.11 77 | meteor@1.1.13 78 | meteor-base@1.0.3 79 | meteorhacks:fast-render@2.10.0 80 | meteorhacks:inject-data@1.4.1 81 | meteorhacks:picker@1.0.3 82 | meteorhacks:subs-manager@1.6.4 83 | minifier-css@1.1.10 84 | minifier-js@1.1.10 85 | minimongo@1.0.13 86 | mobile-experience@1.0.3 87 | mobile-status-bar@1.0.11 88 | modules@0.5.2 89 | modules-runtime@0.6.2 90 | momentjs:moment@2.10.6 91 | mongo@1.1.6 92 | mongo-id@1.0.3 93 | mongo-livedata@1.0.11 94 | mrt:underscore-string-latest@2.3.3 95 | npm-bcrypt@0.7.8_2 96 | npm-mongo@1.4.42 97 | observe-sequence@1.0.10 98 | ordered-dict@1.0.6 99 | promise@0.6.6 100 | raix:eventemitter@0.1.3 101 | random@1.0.8 102 | rate-limit@1.0.3 103 | reactive-dict@1.1.6 104 | reactive-var@1.0.8 105 | reload@1.1.7 106 | retry@1.0.6 107 | routepolicy@1.0.9 108 | ryw:blog@0.8.5 109 | service-configuration@1.0.8 110 | session@1.1.4 111 | sha@1.0.6 112 | simple:json-routes@1.0.4 113 | spacebars@1.0.10 114 | spacebars-compiler@1.0.10 115 | spiderable@1.0.12 116 | srp@1.0.7 117 | standard-minifier-css@1.0.5 118 | standard-minifier-js@1.0.5 119 | stylus@2.511.4 120 | templating@1.1.8 121 | templating-tools@1.0.3 122 | tracker@1.0.12 123 | twbs:bootstrap@3.3.6 124 | ui@1.0.10 125 | underscore@1.0.7 126 | url@1.0.8 127 | webapp@1.2.7 128 | webapp-hashing@1.0.8 129 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Example Meteor Blog App 2 | 3 | This is a very simple example app that uses the [`ryw:blog`](https://github.com/meteor-blog/meteor-blog) package along with bootstrap and iron router. 4 | 5 | You can view it live at [blog-example.meteor.com](http://blog-example.meteor.com) 6 | 7 | Meteor no longer offers [free hosting](https://forums.meteor.com/t/meteor-com-free-hosting-ends-march-25-2016/19308?u=hellogerard). But you can run this app yourself easily by cloning this app and running `meteor`. 8 | -------------------------------------------------------------------------------- /client/blog.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /client/footer.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /client/header.html: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /client/home.html: -------------------------------------------------------------------------------- 1 | 12 | -------------------------------------------------------------------------------- /client/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Meteor Blog Example 4 | 5 | 6 | 7 | 8 | 14 | -------------------------------------------------------------------------------- /client/show.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /lib/blog.js: -------------------------------------------------------------------------------- 1 | Blog.config({ 2 | title: "Meteor Blog Example", 3 | syntaxHighlighting: true, 4 | syntaxHighlightingTheme: 'github', 5 | blogIndexTemplate: 'blog', 6 | blogShowTemplate: 'show', 7 | comments: { 8 | disqusShortname: 'blogpackage' 9 | }, 10 | rss: { 11 | title: 'Example Blog App', 12 | description: 'This is an example application for meteor-blog package' 13 | } 14 | }); 15 | -------------------------------------------------------------------------------- /routes.js: -------------------------------------------------------------------------------- 1 | Router.configure({ 2 | layoutTemplate: 'layout' 3 | }); 4 | Router.route('/', function () { 5 | this.render('home'); 6 | }); 7 | --------------------------------------------------------------------------------