brokenhandsio / steampress Goto Github PK
View Code? Open in Web Editor NEWA Blogging Engine and Platform written in Swift for use with the Vapor Framework
License: MIT License
A Blogging Engine and Platform written in Swift for use with the Vapor Framework
License: MIT License
Upon installing example project, We are seeing this error when trying to login the first time:
Server error: dispatch(HTTP.ParserError.invalidStartLine)
Hi , I have one problem.
http://localhost:8080/blog/tags/Hello/
will see There haven't been any blog posts yet!
but the Hello tag, have two published posts.
I find
try tag.sortedPosts().all().count
// is 0
but
try tag.posts.all().count
// is two
When run vapor run serve --env=production --release
then request localhost:8080/blog/admin/login
input admin
and password the user is not login.
but run vapor run
then user is login
Because it generates this Continue Reading link:
http://localhost:8080/blog/posts/%3Cspan%20class%20=%20'highlight'%3Ehello%3C/span%3E-world/
The span class around the partial match causes this link to result in a not found
I see you include prism.js, but when trying to display highlighted code I get raw HTML omitted
in the post dom.
Where is this coming from and how do I allow HTML in post
I found out there is a sequence problem with setupProviders.
If I add FluentProvider before add SteamPressProvider, such like
private func setupProviders() throws {
try addProvider(FluentProvider.Provider.self)
try addProvider(PostgreSQLProvider.Provider.self)
try addProvider(LeafProvider.Provider.self)
try addProvider(SteamPress.Provider.self)
}
BlogAdminUser's prepare function will be call before boot(_ drop: Droplet)
(log is set there).
So the log will not show when preparation.
Maybe we could change log?.error() to print() or note this in the markdown file?
LeafMarkdown (https://github.com/brokenhandsio/LeafMarkdown) references in README.md and Tests/SteamPressTests/Helpers/TestDataBuilder.swift return a 404 page not found error.
Appears that LeafMarkdown repository is gone. โฆ although LeafMarkdown is still referenced in a number of GitHub locations: https://github.com/search?q=LeafMarkdown
When is the official version released?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.