sunainapai / makesite Goto Github PK
View Code? Open in Web Editor NEWSimple, lightweight, and magic-free static site/blog generator for Python coders
License: MIT License
Simple, lightweight, and magic-free static site/blog generator for Python coders
License: MIT License
On windows, i checked where you import CommonMark library as
import CommonMark
I got an error even though i had the lib installed. I changed it to all lowercase
import commonmark
and it fixed the issue.
Just though you should know.
@sunainapai I know you are not interested in adding any features, but what is the quickest way that I can create an image folder for me to link to images in my markdown files?
Hi,
maybe we could change the date in the feed to match these:
https://validator.w3.org/feed/docs/error/InvalidRFC2822Date.html
<pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>
<pubDate>Wed, 02 Oct 2002 13:00:00 GMT</pubDate>
<pubDate>Wed, 02 Oct 2002 15:00:00 +0200</pubDate>
So this is a valid date.
Hello - great work, thanks for sharing.
I was wondering whether you are interested in expanding your site generator, or leaving is as it?
I am asking as I will fork it and make several changes:
{{
and }}
configurable as they clash with Vue.jsI would be happy to make PRs for these but I am not sure about your plans for long-term maintenance.
Why do you not use some template engine like Jinja2 or built-in string.Template?
Thank you very much for makesite. Of all the static site generators I've tried, this one suites my requirements best.
I set a value for the base_path
default param in makefile.py
. For the page.html
template in folder layout
the param gets replaced as expected. However in any HTML file in folder content
the placeholder remains untouched.
As a workaround I manually replaced the placeholder with the actual value.
Are placeholders not supported in content HTML pages?
Makesite is a beauty of simplicity and I am thinking of using it in a blog project.
Can you advise if there is a way of rendering mathematical expressions?
i run your code on debian with python 2.7. And it throw an error : socket.error: [Errno 98] Address already in use
i change the ip:port to my server ip+new port. but the error still exist.
i search the question online . someonte say to add one line code below , but i can't find where to add ,
self.recSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.recSocket.settimeout(CHECK_TIMEOUT)
self.recSocket.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
self.recSocket.bind(('', UDP_PORT))
the url: https://blog.csdn.net/chenyulancn/article/details/8181238
hope you can help me. Thanks.
Greetings!
In XMPP, using PubSub(1) (XEP-0060), it is possible to store posts as Atom Syndication(2) entries into XMPP(3).
There are several XMPP extensions that apply it, namely XEP-0227 (4) and XEP-0472 (5) which make node xmpp:microblog:0
as a common choice to manage news for client accounts (e.g. [email protected]
), yet a component account (e.g. pubsub.make.site
) may use all of its nodes for this purpose.
pubsub.make.site/
|
|-- updates/
|-- Sombre
`-- Varied
|-- releases/
`-- events/
pubsub service/
|
|-- node/
|-- item
`-- item
|-- node/
`-- node/
I have made a script that realizes viewing PubSub node items as Atom XML feeds over HTTP.
You should change the front matter language to YML as it is used by most of the CMS for the SSGs
Are you open to accepting new features or improvements? If so, do you have any guidelines we should follow?
Classless is a default HTML template that supports basically article pages and list pages, plus a global header, a navigation menu, a global footer, everything you need to build a simple blog or website.
The idea is that if you write HTML conforming to the rules specified by it you'll get access to multiple themes written with the same structure in mind, so you don't have to reinvent theming engine and themes every time you change or write your own CMS or static site generator, you just bring you CSS file over and it's done. The same minimalism ideal that powers makesite.py.
My idea is that with a few tweaks we can make makesite.py's default layouts conform to the Classless structure, making it easy for newcomers to start their sites by already using one of the prebuilt themes. Of course, none of the flexibility is lost and people can still tweak everything and either create a custom Classless theme or totally move away from the Classless template if they want.
What do you think?
For html files, I can see that Makefile will take params.json and replace {{ base_path }} with the parameter, like "{{ base_path }}/css/style.css".
However, the same doesn't seem to be possible with the markdown files.
This means that I can see my images fine locally, but there doesn't seem to be a way to have markdown images be converted into the correct path in the html since makefile.py does not check and add the params.json base_path.
Is there a workaround, or am I doing something wrong perhaps?
I am not seeing any support for tags. Is that the case?
I think this would be great to have as a docker "run" with two volumes - the input and the output. No dorking around with python packages and the like. Just a simple shell script that you call with the two dirs and it will build then run the code.
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.