git-blog | Ridiculously minimalist blogware - write your posts | Blog library

 by   ELLIOTTCABLE Ruby Version: Current License: ISC

kandi X-RAY | git-blog Summary

kandi X-RAY | git-blog Summary

git-blog is a Ruby library typically used in Web Site, Blog applications. git-blog has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Ridiculously minimalist blogware - write your posts in $EDITOR, then `git-push blog master`. Boom, new posts published.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              git-blog has a low active ecosystem.
              It has 108 star(s) with 13 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 26 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of git-blog is current.

            kandi-Quality Quality

              git-blog has 0 bugs and 0 code smells.

            kandi-Security Security

              git-blog has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              git-blog code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              git-blog is licensed under the ISC License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              git-blog releases are not available. You will need to build from source code and install.
              git-blog saves you 131 person hours of effort in developing the same functionality from scratch.
              It has 329 lines of code, 10 functions and 13 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of git-blog
            Get all kandi verified functions for this library.

            git-blog Key Features

            No Key Features are available at this moment for git-blog.

            git-blog Examples and Code Snippets

            No Code Snippets are available at this moment for git-blog.

            Community Discussions

            QUESTION

            Drafts rendered by netlify when draft: true in yaml
            Asked 2018-Jan-18 at 16:52

            I am running at blogdown site from this github repo hosted by Netlify at https://timmastny.rbind.io/

            In website2/content/blog/ I have two posts

            2018-01-16-git-blogdown-project-workflow.Rmd

            and 2018-01-13-bayesian-meta-analysis-powerlifting.Rmd

            You can see that in the YAML of both posts, I have draft: true and in the second one I even have publishdate: '2018-01-20' which is in the future as of this post.

            However, with these changes pushed to github and Netlify deployed with a clean cache, on my actual website I still see the posts: https://timmastny.rbind.io/

            What am I missing about draft: true?

            I've read sections 2.3.1 and D.3 of the books, but I'm not sure. I've also updated Hugo to 0.32.4 and am on the latest version of blogdown.

            Edit: I've deleted the public folder and added public to gitignore. Netlify had a 16 minute build which was published. But on the actual website I get a Page Not Found error.

            Here's the log: https://app.netlify.com/sites/timmastny/deploys/5a60c299df99532a0147c3d7

            Here's my deploy settings on Netlify. They should match the suggestions in 3.1 of the blogdown book:

            Deploy settings

            Repository: https://github.com/tmastny/website2

            Build command: hugo

            Publish directory: public

            Production branch: master

            Branch deploys: Deploy only the production branch and its deploy previews

            Public deploy logs: Logs are public

            Build environment variables: HUGO_VERSION 0.32.4

            ...

            ANSWER

            Answered 2018-Jan-18 at 16:52

            I am going to assume you are using public as your deploy folder for Netlify.

            Issue #1

            Your public folder is in your repository, so it is checked out to the Netlify site and when you run your build your posts already exist in that folder, so they are always going to be deployed.

            Solution #1

            Delete the public folder from your project and add a .gitignore for the public folder.

            The deploy should build the public folder fresh on each deploy, so it can compare the CDN with your build and copy the correct files only.

            Issue #2 (updated question)

            The Hugo theme is set to theme = "hugo-xmin" in the config.toml. When checking out the repository from GitHub, this theme folder is empty. It would be empty on Netlify as well, so the build becomes invalid.

            Solution #2

            Changed to a valid theme theme = "hugo-lithium-theme" in the config.toml and the build starts to create your site pages.

            Original Issue

            When updating draft: true in .Rmd does not ignore on build.

            Solution (for Original)

            Hugo is not processing your content for .Rmd, it is using your content from the processed .html files created. So you need to make sure you are committing the content for those files with draft: true in them to your repository before a build.

            Source https://stackoverflow.com/questions/48312933

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install git-blog

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ELLIOTTCABLE/git-blog.git

          • CLI

            gh repo clone ELLIOTTCABLE/git-blog

          • sshUrl

            git@github.com:ELLIOTTCABLE/git-blog.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Blog Libraries

            hexo

            by hexojs

            mastodon

            by mastodon

            mastodon

            by tootsuite

            halo

            by halo-dev

            vuepress

            by vuejs

            Try Top Libraries by ELLIOTTCABLE

            pin-cushion

            by ELLIOTTCABLEJavaScript

            ruby.sugar

            by ELLIOTTCABLERuby

            regex.sugar

            by ELLIOTTCABLECSS

            ArchLinux-AMIs

            by ELLIOTTCABLEShell

            nfoiled

            by ELLIOTTCABLERuby