[Howto] - Add Disroot site menu #923

Open
opened 2024-07-07 14:42:16 +02:00 by muppeth · 10 comments
Owner

Add the topbar from disroot website which will allow for easy switch between websites.

Add the topbar from disroot website which will allow for easy switch between websites.
antilopa was assigned by muppeth 2024-07-07 14:42:16 +02:00
muppeth added this to the Goal - Improve howto website project 2024-07-07 14:42:16 +02:00
antilopa added this to the 24.07 - July milestone 2024-07-17 12:49:39 +02:00
Owner

It would be best if we could embed the whole howto site into the main Disroot site, so we don't have to recreate the top menu bar and it stays updated when changes are made. I'm trying to figure out if grav allows that.

It would be best if we could embed the whole howto site into the main Disroot site, so we don't have to recreate the top menu bar and it stays updated when changes are made. I'm trying to figure out if grav allows that.
Author
Owner

Perhaps we could just add it like we added blog?

Perhaps we could just add it like we added blog?
Owner

Yes, that might be an option. Although I think it is convenient to have the howto maintained as a separate website, since the structure of it is more complex than the blog.

Yes, that might be an option. Although I think it is convenient to have the howto maintained as a separate website, since the structure of it is more complex than the blog.
Owner

Perhaps we could just add it like we added blog?

but there is no topbar on blog page.

I think it is convenient to have the howto maintained as a separate website,

I completely agree.

It would be best if we could embed the whole howto site into the main Disroot site, so we don't have to recreate the top menu bar and it stays updated when changes are made. I'm trying to figure out if grav allows that.

I've done some searches, but it is not possible.

> Perhaps we could just add it like we added blog? but there is no topbar on blog page. > I think it is convenient to have the howto maintained as a separate website, I completely agree. > It would be best if we could embed the whole howto site into the main Disroot site, so we don't have to recreate the top menu bar and it stays updated when changes are made. I'm trying to figure out if grav allows that. I've done some searches, but it is not possible.
Owner

I also agree that they must remain as separated sites.

I also agree that they must remain as separated sites.
Author
Owner

I think there is not much difference whether we host on same or separate websites.

  • URL Howtos could be served from https://disroot.org/howtos and alias to https://howto.disroot.org. So from user perspective it would be no different.
  • Pages could still be in seperate repo to keep things easy to maintain and on hosting side (server side) could be cloned and linked to site/user/pages/howtos. So pretty much no difference here
    From maintenance perspective, tutorials could be stored in pages/howtos/ on website pages repo. Theme would be in seperate repo and just enabled for pages under howto dir.
    Howtos could be served from https://disroot.org/howtos and alias to https://howto.disroot.org. So from user perspective it would be no different.

The gain would be for example same topbar menu and footer, and one instance of grav running. I think it's worth considering.

I think there is not much difference whether we host on same or separate websites. - **URL** Howtos could be served from `https://disroot.org/howtos` and alias to `https://howto.disroot.org`. So from user perspective it would be no different. - Pages could still be in seperate repo to keep things easy to maintain and on hosting side (server side) could be cloned and linked to `site/user/pages/howtos`. So pretty much no difference here From maintenance perspective, tutorials could be stored in `pages/howtos/` on website pages repo. Theme would be in seperate repo and just enabled for pages under howto dir. Howtos could be served from `https://disroot.org/howtos` and alias to `https://howto.disroot.org`. So from user perspective it would be no different. The gain would be for example same topbar menu and footer, and one instance of grav running. I think it's worth considering.
Owner

We could try it.

We could try it.
Owner

Blog pages, having another theme in use, do not share the top bar menu. Something we should look into, for both blog and howto (when served fro the same main website).

Blog pages, having another theme in use, do not share the top bar menu. Something we should look into, for both blog and howto (when served fro the same main website).
Author
Owner

@Disroot/Owners Shall we then try it out? @antilopa I could set this up on dev machine to test it and once setup push it to staging. For now as is, so just to make everything work without unified footers/topbars etc, and create tickets for further work.

@Disroot/Owners Shall we then try it out? @antilopa I could set this up on dev machine to test it and once setup push it to staging. For now as is, so just to make everything work without unified footers/topbars etc, and create tickets for further work.
Owner

I agree.

I agree.
meaz modified the milestone from 24.07 - July to 24.08 - August 2024-08-04 15:22:18 +02:00
meaz modified the milestone from 24.08 - August to 24.07 - July 2024-08-04 15:22:33 +02:00
muppeth added the
Howto
Goal 2024
labels 2024-08-04 15:22:41 +02:00
muppeth removed this from the 24.07 - July milestone 2024-08-16 15:10:40 +02:00
Sign in to join this conversation.
No milestone
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/Disroot-Project#923
No description provided.