Code Monkey home page Code Monkey logo

litepub's People

Contributors

lawrencewoodman avatar mirovarga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

litepub's Issues

Adding image to posts - need slight modification

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?

sample

How can I hide one blog post from showing in the index

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?

How can I host LitePub in a sub-directory?

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.

Enhancement request: feed

Litepub looks nice, but it seems to lack a feed generator (preferrably Atom, but RSS will do).

Please.

Carridge Return - Line Feed fails to build

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?

How can I have LitePub ignore dot files?

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

Can we make links relative to the installed folder

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??

Are the dates supposed to be visible?

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?

Does Litepub provide paging of blog posts?

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?

How can I include images in posts?

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?

can u provide 32-bit version?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.