From Gabriel to ~sircmpwn/sr.ht-discuss
I have been using sr.ht as a hobbyist for some time now. Recently I used srht.site to host a personal webpage for my professional life as a university professor. I did try to use hugo as a tool to generate the site, but found it too cumbersome for me, so I changed to astro: https://astro.build/ I've never hosted a webpage before, so I am new to the whole process. Learning what I seem to be needing as I go. Right now, I would like to use the webpage to gather some simple information, say having students fill out a questionnaire and having the webpage send the answers as a csv file. Is this possible with srht.site? From what I have read, it is possible to render the static webpage itself, being it plain html or using
From Gabriel to ~sircmpwn/sr.ht-discuss
Thanks for the answers. It solved my issue. On Sun, Sep 1, 2024 at 7:05 AM jman <srht@city17.xyz> wrote: > > "Hugo Osvaldo Barrera" <hugo@whynothugo.nl> writes: > > > This is srht.site policy. You need to serve > > all files yourself, and can’t execute scripts > > from third party domains. > > For completeness, here is the documentation about the limitations of what pages.sr.ht can offer: > https://srht.site/limitations
From Gabriel to ~sircmpwn/sr.ht-discuss
I have the following problem. I am using Hugo to generate my website. I also use the ananke theme. Now, I would like to render some math, so I followed the instructions at: https://gohugo.io/content-management/mathematics/ This means making some changes the layout of ananke. I did those locally and it does render the math. Then I follow the instructions at: https://srht.site/quickstart which, if I'm correct, would upload the static website I have rendered with hugo locally. But when I open the link on the webpage it does not show the math:
From Gabriel to ~sircmpwn/sr.ht-discuss
Thank you for your answer. On Mon, Apr 8, 2024 at 6:17 PM Tianhao Wang <shrik3@mailbox.org> wrote: > > On Mon Apr 8, 2024 at 9:51 PM CEST, Gabriel villalobos wrote: > > ... > > Now, my question is, which files should be included in the repository? > > Specifically, do I need to register changes to the "public/" directory? > > No, the `public/` directory should not be tracked by git (i.e. add it to > .gitignore). > > You could add a build manifest to generate and publish the web pages via > builds.sr.ht every time you push changes to the repo, take this example:
From Gabriel villalobos to ~sircmpwn/sr.ht-discuss
Thanks for the good work. I have a webpage hosted at gavox.srht.site. To generate the site I use hugo, as explained in https://srht.site/quickstart (this is, I use markdown files and hugo generates the html, css, etc that is needed to render the site) To update the website I follow the procedure in explained in https://srht.site/automating-deployments (that is, I have a git repository at ~gavox/gavox.srht.site to which I
From Gabriel to ~sircmpwn/sr.ht-discuss
It worked! Thanks! On Fri, Feb 2, 2024 at 6:37 PM Thorben Günther <admin@xenrox.net> wrote: > > On Fri, Feb 02, 2024 at 06:30:46PM -0500, Gabriel wrote: > > Hi Thorben, thanks for looking into it. > > > > That's one way to do it. > > > > I am trying to implement the automated way, in which I don't make a > > tar, instead > > I use a git repository and builds.sr.ht would generate the webpage form the git > > repository. > >
From Gabriel to ~sircmpwn/sr.ht-discuss
Hi Thorben, thanks for looking into it. That's one way to do it. I am trying to implement the automated way, in which I don't make a tar, instead I use a git repository and builds.sr.ht would generate the webpage form the git repository. As described in the automating-deployments webpage. On Fri, Feb 2, 2024 at 2:28 PM Thorben Günther <admin@xenrox.net> wrote: >
From Gabriel villalobos to ~sircmpwn/sr.ht-discuss
Hi there, thanks for the good work, I appreciate it. I am using sourcehut pages to publish a personal blog. I followed the instructions here: https://srht.site/quickstart and it worked perfectly. Now, I am trying to automate the upgrading of the site, following: https://srht.site/automating-deployments For that, I created the git project: