mirovarga / litepub Goto Github PK
View Code? Open in Web Editor NEWA lightweight static blog generator written in Go
License: MIT License
A lightweight static blog generator written in Go
License: MIT License
I'm trying to create a landing page for my site then have a link to a litepub blog via blog.html. Is there anyway to create this scenario easily?
I'm on windows 7 and it uses cr/lf. When I create a post with cr/lf in it the build fails. Changing to lf only works fine. Is this normal? I did get my site up on Netlify today using only lf. The real strange thing is that all my template files use cr/lf and everything works just fine. Is this a bug for the md files to require lf only or is it an oversight and maybe you could change it to work with cr/lf also?
Was just updating some pages and I noticed no dates are appearing in the index or on any blog page? Titles and Tags are showing. Has it been this way since day 1 or am I missing something that was never there?
I'm building a site for a friend and they like Litepub very much. I am using one post as a landing page via redirects and it works good, however when the index.html is accessed all posts are shown including that post I'm using as a main page. Is there a way to not show that specific post on the index.html file?
I remember you made an update to prevent a post from showing by adding a dot at the beginning of the file name, but then I can't access that file by a direct link can I?
hi。
i see https://github.com/mirovarga/litepub/releases,there is no 32-bit version.can u provide 32-bit version?
and
root@AR:/usr/local/go/gospace# /usr/local/go/bin/go get github.com/mirovarga/litepub
can't load package: package github.com/mirovarga/litepub: no buildable Go source files in /usr/local/go/gospace/src/github.com/mirovarga/litepub
root@AR:/usr/local/go/gospace#
cannot use "/usr/local/go/bin/go get github.com/mirovarga/litepub" to install litepub??
thank u!
I am trying to host my LitePub-generated site on GitLab, but it's not working because the site is hosted at https://username.gitlab.io/blog. As a result, the CSS fails to be found as all links to CSS, and other resources, use absolute paths.
I have tried and failed to amend the templates to match. Any help would be appreciated.
I want to write tutorial posts, which will include images. How can I include these images? My thought is to create an images
directory in the posts
directory. Having done that I should be able to used the images
path in linking to images. Are there any reasons I should not use that method? Is a different method recommended?
I have tried, and failed, to find an answer to this question. From what I can tell, Litepub is using the Skeleton CSS Framework. I know very little about CSS, and have done some experiments, but I can't find the answer. :(
Really enjoying this script! I tried porting to another template and even though I'm no coder, common sense worked. All I need now is to add an image for each post, but when I do I can't seem to reposition the "Read More" link on the main page. See photo below. I would like the "Read more" link below the image or maybe you can suggest the best place for it. I tried adding a break for a new line, but does not work. Any tips appreciated!
One more question - How do I reduce the spacing between the post title ("Overview" in this example) and the next paragraph?
Litepub looks nice, but it seems to lack a feed generator (preferrably Atom, but RSS will do).
Please.
I have started afresh with trying to host LitePub on GitLab. All is going well until GitLab's CI attempts a build. LitePub insists on having an empty draft
sub-directory in the posts
directory, so I created one. However as that is an empty directory, and git doesn't manage empty directories, GitLab created a .gitkeep
file in the draft
directory.
On attempting a build, LitePub fails with the following message:
ERROR: Failed to generate blog: Failed to read posts: Title, date or content is missing: posts/draft/.gitkeep
I created about 10 example posts, to see if Litepub would begin breaking the posts into pages. I have not yet seen a page indicator appear. If I continue using Litepub, my concern is that someone wanting to view my posts views all of them, which seems like a waste of network traffic. Is there a way of breaking the posts into, perhaps, 5 per "page" or similar grouping?
Great work, nice and simple, very nice. I'm on shared server and would like to put litepub in it's own folder, but that breaks all links including css. I guess the front slash in all the urls needs to be removed for this to work, true??
Long lines in code blocks are cut off at a certain point. No wrapping is provided, and nor are scrollbars provided. As a result, if you are viewing a LitePub site on a device with a small screen (for example, a phone), there is no way to view the entire content of a code block in this case.
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.