Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Can I remove Grav link and message?

theme

Solved by Makary View solution

Started by mousan 7 years ago · 4 replies · 1771 views
7 years ago

Hi. I'm new member of this folum and This is my first time to use Grav.
I have a question. I use "Learn2 with Git Sync Site " theme.
I would like to remeve sentece "Built with Grav - The Modern Flat File CMS" at left side below.
Can I remove this ? or I can not remove this line becase of MIT licence?

I'm not sure about MIT liecece. I post all this skelton code to my server without any delete about Author info. Am I all right with this?

7 years ago

Yes, you can delete it. The MIT-license is just about the most permissive code license out there.

👍 1
7 years ago

Thank you very much. I unserstand that.

And Could you teach me how to delete “Built with Grav - The Modern Flat File CMS” from "Learn2 with Git Sync Site " theme please?

7 years ago Solution

It appears that this notice is hard-coded in the templates/partials/sidebar.html.twig file.
You could manually edit it and remove this line, but be advised, that it will be overwriten during next theme update.

You can resolve this by creating a subtheme overwriting this single file, as described here

As the text is sourced from language.yml (file providing translations for theme options), you could also override this string (THEME_LEARN2_BUILT_WITH_GRAV) in custom language file at /user/languages/ as described here I suppose, but I never did something like this, so can't give you any more tips, sorry.

👍 1
7 years ago

Dear MakaryGo
Thank you very much.
I can remove the line. I see ... theme update undo it.
I really appreciate. Thank you.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 195 2 months ago
Themes & Styling · by Ian, 2 months ago
3 91 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 451 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 45 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 125 3 months ago