Skip to content

Commit

Permalink
Switching main branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleu committed Oct 20, 2024
1 parent 86378f1 commit 76773dd
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion app/site/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func Handle(path []string, as *app.State, ps *cutil.PageState) (string, layout.P
case util.AppKey:
msg := "\n " +
"<meta name=\"go-import\" content=\"github.com/kyleu/npn git %s\">\n " +
"<meta name=\"go-source\" content=\"github.com/kyleu/npn %s %s/tree/master{/dir} %s/blob/master{/dir}/{file}#L{line}\">"
"<meta name=\"go-source\" content=\"github.com/kyleu/npn %s %s/tree/main{/dir} %s/blob/main{/dir}/{file}#L{line}\">"
ps.HeaderContent = fmt.Sprintf(msg, util.AppSource, util.AppSource, util.AppSource, util.AppSource)
return "", &vsite.GoSource{}, []string{"Source**code"}, nil
case keyAbout:
Expand Down
2 changes: 1 addition & 1 deletion doc/module/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides a webview-based application and Android build

https://github.com/kyleu/projectforge/tree/master/module/android
https://github.com/kyleu/projectforge/tree/main/module/android

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides common utilities for a Go application.

https://github.com/kyleu/projectforge/tree/master/module/core
https://github.com/kyleu/projectforge/tree/main/module/core

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides a desktop application using the system's webview

https://github.com/kyleu/projectforge/tree/master/module/desktop
https://github.com/kyleu/projectforge/tree/main/module/desktop

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides an abstraction around local and remote filesystems

https://github.com/kyleu/projectforge/tree/master/module/filesystem
https://github.com/kyleu/projectforge/tree/main/module/filesystem

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides a webview-based application and iOS build

https://github.com/kyleu/projectforge/tree/master/module/ios
https://github.com/kyleu/projectforge/tree/main/module/ios

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/marketing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides a website for downloads, tutorials, and marketing

https://github.com/kyleu/projectforge/tree/master/module/marketing
https://github.com/kyleu/projectforge/tree/main/module/marketing

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/notarize.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It sends files to Apple for notarization.

https://github.com/kyleu/projectforge/tree/master/module/notarize
https://github.com/kyleu/projectforge/tree/main/module/notarize

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides logins and session management for many OAuth providers.

https://github.com/kyleu/projectforge/tree/master/module/oauth
https://github.com/kyleu/projectforge/tree/main/module/oauth

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It allows the execution of JavaScript files using a built-in interpreter.

https://github.com/kyleu/projectforge/tree/master/module/scripting
https://github.com/kyleu/projectforge/tree/main/module/scripting

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It adds search facilities to the top-level navigation bar.

https://github.com/kyleu/projectforge/tree/master/module/search
https://github.com/kyleu/projectforge/tree/main/module/search

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/themecatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It includes a dozen default themes, and facilities to create additional.

https://github.com/kyleu/projectforge/tree/master/module/themecatalog
https://github.com/kyleu/projectforge/tree/main/module/themecatalog

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides in-place version upgrades using GitHub Releases.

https://github.com/kyleu/projectforge/tree/master/module/upgrade
https://github.com/kyleu/projectforge/tree/main/module/upgrade

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides classes for representing persistent user records and wires them throughout the application

https://github.com/kyleu/projectforge/tree/master/module/user
https://github.com/kyleu/projectforge/tree/main/module/user

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/wasmserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It allows you to build your http server as normal, but load it as a WebAssembly module or Service Worker.

https://github.com/kyleu/projectforge/tree/master/module/wasmserver
https://github.com/kyleu/projectforge/tree/main/module/wasmserver

### License

Expand Down
2 changes: 1 addition & 1 deletion doc/module/websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a module for [Project Forge](https://projectforge.dev). It provides a WebSocket API

https://github.com/kyleu/projectforge/tree/master/module/websocket
https://github.com/kyleu/projectforge/tree/main/module/websocket

### License

Expand Down
2 changes: 1 addition & 1 deletion views/components/view/URL.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
if !strings.HasPrefix(path, "/") {
path = "/" + path
}
u := util.AppSource + "/blob/master" + path
u := util.AppSource + "/blob/main" + path
-%}
{%= URL(u, origPath, false, ps) %}
{% endstripspace %}{% endfunc %}
2 changes: 1 addition & 1 deletion views/components/view/URL.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76773dd

Please sign in to comment.