From ae56506208f492a79215e3d228fe4dd50a0aada6 Mon Sep 17 00:00:00 2001 From: Jason Ernst Date: Sat, 3 Oct 2026 08:12:51 -0700 Subject: [PATCH] Install: neutral defaults instead of the author's personal details The wizard's settings step was pre-filled with the original author's name, job title, tags and ten personal profile URLs, and a fresh database was seeded with the same title, subtitle, logo letters and tags plus an About page holding the author's biography. Clicking through the wizard produced a site in someone else's name. The wizard now offers "My Blog" / "MB" and placeholders for the rest, the seeds match, and the seeded About page says what it is and where to edit it. Existing sites are unaffected: seeds only fill missing keys and pages are only seeded into an empty table. Closes #657. Co-Authored-By: Claude Fable 5.1 --- themes/default/templates/wizard_settings.html | 28 +++++++++---------- tools/migrate.go | 18 ++++-------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/themes/default/templates/wizard_settings.html b/themes/default/templates/wizard_settings.html index c322313..b8dcbb8 100644 --- a/themes/default/templates/wizard_settings.html +++ b/themes/default/templates/wizard_settings.html @@ -25,21 +25,21 @@
Goblog Settings
- +
- +
- +
- +
@@ -59,12 +59,12 @@
Socials: (leave blank if you don't want to display)
- +
- +
@@ -72,12 +72,12 @@
Socials: (leave blank if you don't want to display)
- +
- +
@@ -85,12 +85,12 @@
Socials: (leave blank if you don't want to display)
- +
- +
@@ -98,12 +98,12 @@
Socials: (leave blank if you don't want to display)
- +
- +
@@ -112,12 +112,12 @@
Socials: (leave blank if you don't want to display)
- +
- +
diff --git a/tools/migrate.go b/tools/migrate.go index 5515c08..c1a6279 100644 --- a/tools/migrate.go +++ b/tools/migrate.go @@ -321,10 +321,10 @@ func seedDefaultPostType(db *gorm.DB) { // overwriting existing values. func seedDefaultSettings(db *gorm.DB) { defaults := []blog.Setting{ - {Key: "site_title", Type: "text", Value: "Jason Ernst"}, - {Key: "site_subtitle", Type: "text", Value: "Software Engineer"}, - {Key: "site_logo_letters", Type: "text", Value: "JE"}, - {Key: "site_tags", Type: "text", Value: "Decentralization, Mesh Net"}, + {Key: "site_title", Type: "text", Value: "My Blog"}, + {Key: "site_subtitle", Type: "text", Value: ""}, + {Key: "site_logo_letters", Type: "text", Value: "MB"}, + {Key: "site_tags", Type: "text", Value: ""}, {Key: "landing_page_image", Type: "file", Value: "/img/profile.png"}, {Key: "favicon", Type: "file", Value: "/img/favicon.ico"}, {Key: "custom_header_code", Type: "textarea", Value: ""}, @@ -599,15 +599,9 @@ func seedDefaultPages(db *gorm.DB) { log.Println("Seeding default pages") - aboutContent := `I'm currently Principal Software Engineer at a startup working on mobile networks on phones. At the University of Guelph in Canada I hold adjunct Professor status and serve on the committee of several graduate students who are studying wireless networks and occasionally still co-publish research papers. + aboutContent := `This is your About page. Tell your readers who you are and what you write about. -Prior to this I was a Senior Software Engineer at two different robotics startups in San Francisco (Rapid Robotics and Osaro). I was also the CTO and first developer at a startup in Vancouver called RightMesh which was building a mesh networking library for Android phones. During this time I was also an adjunct professor at the University of Guelph and was the industrial PI of a [$2.13M MITACS grant to improve connectivity in Northern Canada](https://betakit.com/u-of-guelph-left-investing-2-13-million-in-rightmesh-project-improving-northern-connectivity/), specifically Rigolet. RightMesh raised $30M in an ICO in 2018. - -Before that I was the CTO of [Redtree Robotics](https://montrealgazette.com/business/local-business/montreal-startup-ecosystem-fertile-playground-for-entrepreneurs) which was working on a robotics hardware software platform to enable plug-and-play swarm robotics. I started this company with a friend during grad school and we raised some seed funding from Real Ventures. - -I've won, sponsored, and mentored [hackathons](https://uwaterloo.ca/news/waterloo-student-wins-national-hackathon). I love to give [talks](https://www.bbc.co.uk/programmes/w3csvpcr) and present papers. - -I also enjoy driving, working on cars, video games, contributing to [open source](https://github.com/compscidr), cycling, running, and [travel](https://nomadlist.com/@compscidr). +Edit it under **Admin → Pages**. [Tags](/tags) [Archives](/archives)`