Added Created Date, and Author

- show.html.twig >> Moved the "Created on: <datetime>" below the article header, and added a break between it and the article body.
- Blog.php >> Added 2 functions, __construct and setUpdated. __construct writes the current time as created and updated times for the post, and setUpdated writes the current time as the updated time (overwriting the already existing one.)

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Show blogs on homepage.

- PageController.php >> Added code to fetch the DoctrineManager, query the database, write it to an array, and render the index template with the array.
- index.html.twig >> Added structure to view blogs ( for..else..endfor, path('BloggerBlogBundle_blog_show', { 'id': blog.id }))

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Merge branch 'refs/heads/develop'
Removed AcmeDemoBundle

About time, I did this... I removed the AcmeDemoBundle from my project, because I didn't need it anymore... I also updated the routes in routing_dev.yml, and removed the reference in AppKernel.php.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Merge branch 'refs/heads/develop'
Changed styling.

Changed styling of blog post snippets.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Added A Repository Class to the Main Class.

The repository class is used so that Doctrine can generate entities on it.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Added a Comments Model.

Added a comments model and a comments entity, and updated it in the Blog entity, and re-generated all of the getter-setter methods. Then, I moved all of the database queries to BlogRepository, and linked them in PageController.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Adding Comments Model + Data Fixtures

Working on creating the comments model, and data fixtures, but adding Doctrine associations to link between two tables in a database is not working. Posted the question to stack overflow.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Fixed problem, and pushed DataFixtures to the Database.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Changed Styles.

Moved the date on top of the blog header for organization, and the style in blog.css made it look nice.

Signed-off-by: Parth Sarin <parthsarin@gmail.com>
Merge branch 'refs/heads/develop'