refactor: drop pattern
This commit is contained in:
8 files changed
+26
-56
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# scient.ing theme for git.scient.ing
|
||||
# scienting theme for git.scient.ing
|
||||
|
||||
This repository serves as the custom folder for Gitea.
|
||||
Clone the repository once on your server and mount it into the container.
|
||||
@@ -14,7 +14,7 @@ If you remove the mount, the default settings are restored.
|
||||
| `public/assets/fonts/scienting/` | Atkinson Hyperlegible Next and Mono, self-hosted, with their license |
|
||||
| `public/assets/img/` | the custom scienting git logo and favicons in place of Gitea's teacup |
|
||||
| `templates/home.tmpl` | the signed-out home page, in the studio's voice |
|
||||
| `templates/custom/extra_links_footer.tmpl` | adds a scient.ing link and the company's legal name, Scientific Computing Studio, LLC, to the footer |
|
||||
| `templates/custom/extra_links_footer.tmpl` | adds a scienting link and the company's legal name, Scientific Computing Studio, LLC, to the footer |
|
||||
|
||||
These themes are based on Gitea 28.1.0’s original theme files, with changes only to brand colors, fonts, corner radius, and a faint graph-paper grid behind every page except the home page.
|
||||
The named colors for status, diffs, and syntax highlighting remain as Gitea originally set them.
|
||||
@@ -53,12 +53,12 @@ Add the following line under `volumes:` for the `server` service in `/opt/gitea/
|
||||
Merge the contents of `app.ini.scienting` into `/opt/gitea/config/app.ini`.
|
||||
This sets three main options:
|
||||
|
||||
- `APP_NAME = scient.ing git`, which replaces "Scienting Git" in page titles.
|
||||
- `APP_NAME = scienting git`, which replaces "Scienting Git" in page titles.
|
||||
It goes at the top of the file, before any `[section]`.
|
||||
The brand writes the name lowercase, with the dot.
|
||||
- `[ui] DEFAULT_THEME = scienting-auto`.
|
||||
Your `app.ini` has no `THEMES` line, so Gitea offers every theme it finds.
|
||||
If you add one later, it must list the three scient.ing themes.
|
||||
If you add one later, it must list the three scienting themes.
|
||||
- `[ui.meta]`, the author, description, and keywords search engines see.
|
||||
|
||||
Recreate the container to apply the new mount:
|
||||
@@ -89,7 +89,7 @@ docker compose -f preview/compose.yml up -d
|
||||
|
||||
Open http://localhost:3000.
|
||||
The first visit shows Gitea's install page.
|
||||
Keep SQLite, set the site title to `scient.ing git`, create an administrator account under "Administrator Account Settings," and click Install.
|
||||
Keep SQLite, set the site title to `scienting git`, create an administrator account under "Administrator Account Settings," and click Install.
|
||||
The preview keeps its data in Docker volumes, so you only do this once.
|
||||
|
||||
The preview starts empty, so give it something to show:
|
||||
|
||||
Reference in new issue
Block a user