This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 493
Markdown blogging support #93
Open
durden
wants to merge
8
commits into
rigoneri:master
Choose a base branch
from
durden:markdown_blogging_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- You can now use the 'markdown' template tag in the templates to automatically convert markdown to html.
- The markdown parsing, ideas, etc. are solely adapted from the great Logr project, https://github.com/BrewerHimself/Logr. - I just took that project, converted the views to django views, and placed it into syte as a configurable option. - There will now be a 'blog' link in the main navigation that will show all available markdown articles. - Articles are automatically parsed from the syte/articles/ directory. So you can put any markdown files in this directory and links will automatically be generated for these posts in the main blog page. - You can also include 'pages' in the syte/pages directory. For example, the main blog page (/blog/ url) is a listing of all the articles by category and the contents of the syte/pages/FrontPage.md file. Conflicts: syte/urls.py
- There is no image included for this feature yet. As I assumed all the images should be consistent and from the same account.
That's really cool because I don't want to use Tumblr. |
+1 to this one. |
+1. |
👍 Trying this out now. |
Conflicts: README.md requirements.txt syte/views.py
…to markdown_blogging_support
I would love to see this integrated into Syte's core. I don't want a hosted blog at Tumblr or WordPress--I want to host my own. Having a Markdown blog is exactly what I want. Please consider integrating this again. |
+1 |
since this doesnt break the 'no database required' philosophy, can we look at getting this merged in @rigoneri ? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm not entirely sure how useful this is for anyone else. Also, it's not really a 'social' service integration. However, I wanted to be able to easily add a blog component to my site without having to mess with a database, etc.
Kudos to Logr where most of this code originated.