Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. My "project time" this week (when I try to improve something about my business) was spent on investigating how to move from our current blog generating tool, hugo, to @stefano's BSSG.

My "project time" this week (when I try to improve something about my business) was spent on investigating how to move from our current blog generating tool, hugo, to @stefano's BSSG.

Scheduled Pinned Locked Moved Uncategorized
15 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

    My "project time" this week (when I try to improve something about my business) was spent on investigating how to move from our current blog generating tool, hugo, to @stefano's BSSG.

    So far, so good! I'm not quite ready to switch over just yet, but it has been pretty straightforward so far.

    johnmclear@mastodon.greenJ This user is from outside of this forum
    johnmclear@mastodon.greenJ This user is from outside of this forum
    johnmclear@mastodon.green
    wrote last edited by
    #5

    @neil @stefano I went from Wordpress to Github pages w/ Copilot.

    I'm dirty but it's free and I can just use an agent to write a post for me as I provide an agents.md file to outline my writing style: https://github.com/JohnMcLear/blog/blob/main/agents.md#writing--engineering-style

    #dirty

    1 Reply Last reply
    0
    • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe shared this topic
    • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

      My "project time" this week (when I try to improve something about my business) was spent on investigating how to move from our current blog generating tool, hugo, to @stefano's BSSG.

      So far, so good! I'm not quite ready to switch over just yet, but it has been pretty straightforward so far.

      stefano@mastodon.bsd.cafeS This user is from outside of this forum
      stefano@mastodon.bsd.cafeS This user is from outside of this forum
      stefano@mastodon.bsd.cafe
      wrote last edited by
      #6

      @neil That's great! Please note that the unreleased master branch includes a very effective RAM-only build mode, which makes things significantly faster. Also, three new BSD-based themes are coming πŸ™‚

      neil@mastodon.neilzone.co.ukN 1 Reply Last reply
      0
      • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe

        @neil That's great! Please note that the unreleased master branch includes a very effective RAM-only build mode, which makes things significantly faster. Also, three new BSD-based themes are coming πŸ™‚

        neil@mastodon.neilzone.co.ukN This user is from outside of this forum
        neil@mastodon.neilzone.co.ukN This user is from outside of this forum
        neil@mastodon.neilzone.co.uk
        wrote last edited by
        #7

        @stefano

        This is an amazing tool - thank you!

        "RAM" mode caused quite a lot of errors for me, so I switched to "normal" mode, and that is building fine.

        Do you have any plans to add config parameters (to be used in the header template), for

        <meta name="fediverse:creator" content="{{fedi-creator}}" />

        or

        <link rel="me" href="{{fedi_validation_account"/>

        ?

        At the moment, I am adding them to the template without variables, meaning that I'll need multiple instances of BSSG, one per site πŸ™‚

        stefano@mastodon.bsd.cafeS 1 Reply Last reply
        0
        • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

          @stefano

          This is an amazing tool - thank you!

          "RAM" mode caused quite a lot of errors for me, so I switched to "normal" mode, and that is building fine.

          Do you have any plans to add config parameters (to be used in the header template), for

          <meta name="fediverse:creator" content="{{fedi-creator}}" />

          or

          <link rel="me" href="{{fedi_validation_account"/>

          ?

          At the moment, I am adding them to the template without variables, meaning that I'll need multiple instances of BSSG, one per site πŸ™‚

          stefano@mastodon.bsd.cafeS This user is from outside of this forum
          stefano@mastodon.bsd.cafeS This user is from outside of this forum
          stefano@mastodon.bsd.cafe
          wrote last edited by
          #8

          @neil Interesting! Could you please send me the errors you had when using ram mode? So I can debug them.

          Those config parameters are a good idea. I'm adding them to the templates, too - consider that the templates can be overridden per-project, in the project directory - so you can use the same BSSG installation as long as it points to different configurations (generated with ./bssg.sh init )

          For example, I'm currently building the https://my-notes.dragas.net (my "reference" blog for bssg testing) with: ./bssg.sh build -f --config /home/stefano/sites/my-notes/config.sh.local --build-mode ram

          Thank you for your precious feedback!

          neil@mastodon.neilzone.co.ukN 1 Reply Last reply
          0
          • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe

            @neil Interesting! Could you please send me the errors you had when using ram mode? So I can debug them.

            Those config parameters are a good idea. I'm adding them to the templates, too - consider that the templates can be overridden per-project, in the project directory - so you can use the same BSSG installation as long as it points to different configurations (generated with ./bssg.sh init )

            For example, I'm currently building the https://my-notes.dragas.net (my "reference" blog for bssg testing) with: ./bssg.sh build -f --config /home/stefano/sites/my-notes/config.sh.local --build-mode ram

            Thank you for your precious feedback!

            neil@mastodon.neilzone.co.ukN This user is from outside of this forum
            neil@mastodon.neilzone.co.ukN This user is from outside of this forum
            neil@mastodon.neilzone.co.uk
            wrote last edited by
            #9

            @stefano

            > consider that the templates can be overridden per-project, in the project directory

            Oooh, thank you. I had not identified this from the documentation, so thank you!

            neil@mastodon.neilzone.co.ukN 1 Reply Last reply
            0
            • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

              @stefano

              > consider that the templates can be overridden per-project, in the project directory

              Oooh, thank you. I had not identified this from the documentation, so thank you!

              neil@mastodon.neilzone.co.ukN This user is from outside of this forum
              neil@mastodon.neilzone.co.ukN This user is from outside of this forum
              neil@mastodon.neilzone.co.uk
              wrote last edited by
              #10

              @stefano I love the separate of tool from content, so that much I am already doing - but I had not realised that one could use per-project/directory templates too. I will experiment πŸ™‚

              stefano@mastodon.bsd.cafeS 2 Replies Last reply
              0
              • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

                @stefano I love the separate of tool from content, so that much I am already doing - but I had not realised that one could use per-project/directory templates too. I will experiment πŸ™‚

                stefano@mastodon.bsd.cafeS This user is from outside of this forum
                stefano@mastodon.bsd.cafeS This user is from outside of this forum
                stefano@mastodon.bsd.cafe
                wrote last edited by
                #11

                @neil great. I love to separate tool from contents, too. It's much easier to keep things clean, this way.

                1 Reply Last reply
                0
                • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

                  @stefano I love the separate of tool from content, so that much I am already doing - but I had not realised that one could use per-project/directory templates too. I will experiment πŸ™‚

                  stefano@mastodon.bsd.cafeS This user is from outside of this forum
                  stefano@mastodon.bsd.cafeS This user is from outside of this forum
                  stefano@mastodon.bsd.cafe
                  wrote last edited by stefano@mastodon.bsd.cafe
                  #12

                  @neil maybe you need to set the TEMPLATES_DIR="/home/stefano/sites/my-notes/templates" (for example) inside the config.sh.local in the project directory. I can't remember if I implemented it automatically or has to be set manually. Otherwise, you can override it at build time with --templates "dir"

                  neil@mastodon.neilzone.co.ukN 1 Reply Last reply
                  0
                  • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe

                    @neil maybe you need to set the TEMPLATES_DIR="/home/stefano/sites/my-notes/templates" (for example) inside the config.sh.local in the project directory. I can't remember if I implemented it automatically or has to be set manually. Otherwise, you can override it at build time with --templates "dir"

                    neil@mastodon.neilzone.co.ukN This user is from outside of this forum
                    neil@mastodon.neilzone.co.ukN This user is from outside of this forum
                    neil@mastodon.neilzone.co.uk
                    wrote last edited by
                    #13

                    @stefano

                    ```
                    --templates DIR Override templates directory (from config: TEMPLATES_DIR)
                    ```

                    πŸ™‚

                    stefano@mastodon.bsd.cafeS 1 Reply Last reply
                    0
                    • neil@mastodon.neilzone.co.ukN neil@mastodon.neilzone.co.uk

                      @stefano

                      ```
                      --templates DIR Override templates directory (from config: TEMPLATES_DIR)
                      ```

                      πŸ™‚

                      stefano@mastodon.bsd.cafeS This user is from outside of this forum
                      stefano@mastodon.bsd.cafeS This user is from outside of this forum
                      stefano@mastodon.bsd.cafe
                      wrote last edited by
                      #14

                      @neil yes, exactly. It can also be specified in the config file. I'm not sure if it will automatically be used if a templates directory is created in the project folder. It was planned, but I can't remember if I already implemented it or not (can't check the code right now)

                      1 Reply Last reply
                      0
                      • neil@mastodon.neilzone.co.ukN This user is from outside of this forum
                        neil@mastodon.neilzone.co.ukN This user is from outside of this forum
                        neil@mastodon.neilzone.co.uk
                        wrote last edited by
                        #15

                        I now have a minimal theme, with dark mode support!

                        It is on a test URL, but if anyone fancies seeing what I'm doing with #BSSG (Bash Static Site Generator), here's where I am so far:

                        404 Not Found

                        favicon

                        (decoded.legal)

                        1 Reply Last reply
                        1
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups