Skip to content

refactor: r/gnoland/home #3371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/gno.land/p/moul/web25/web25.gno
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Pacakge web25 provides an opinionated way to register an external web2
// Package web25 provides an opinionated way to register an external web2
// frontend to provide a "better" web2.5 experience.
package web25

Expand Down Expand Up @@ -34,9 +34,9 @@ func (c Config) GetLink() string {
const DefaultText = "Click [here]({link}) to visit the full rendering experience.\n"

// Render displays a frontend link at the top of your realm's Render function in
// a concistent way to help gno visitors to have a consistent experience.
// a consistent way to help gno visitors to have a consistent experience.
//
// if query is not nil, then it will check if it's not disable by ?no-web25, so
// if query is not nil, then it will check if it's not disabled by ?no-web25, so
// that you can call the render function from an external point of view.
func (c Config) Render(path string) string {
if realmpath.Parse(path).Query.Get("no-web25") == "1" {
Expand Down
Loading
Loading