Skip to content
Merged
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
28 changes: 14 additions & 14 deletions themes/default/templates/wizard_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ <h5>Goblog Settings</h5>
<div class="mb-4 row">
<div class="col">
<label for="site_title" class="form-label">Site Title:</label>
<input type="text" class="form-control" id="site_title" name="site_title" value="Jason Ernst">
<input type="text" class="form-control" id="site_title" name="site_title" value="My Blog">
</div>
<div class="col">
<label for="site_subtitle" class="form-label">Site Subtitle:</label>
<input type="text" class="form-control" id="site_subtitle" name="site_subtitle" value="Software Engineer">
<input type="text" class="form-control" id="site_subtitle" name="site_subtitle" value="" placeholder="A short tagline">
</div>
</div>
<div class="mb-4 row">
<div class="col">
<label for="site_logo_letters" class="form-label">Site Logo Letters:</label>
<input type="text" class="form-control" id="site_logo_letters" name="site_logo_letters" value="JE">
<input type="text" class="form-control" id="site_logo_letters" name="site_logo_letters" value="MB">
</div>
<div class="col">
<label for="site_tags" class="form-label">Site Tags:</label>
<input type="text" class="form-control" id="site_tags" name="site_tags" value="Decentralization, Mesh Networks, Robotics">
<input type="text" class="form-control" id="site_tags" name="site_tags" value="" placeholder="Comma-separated topics, e.g. travel, cooking">
</div>
</div>
<div class="mb-4 row">
Expand All @@ -59,51 +59,51 @@ <h5>Socials: (leave blank if you don't want to display)</h5>
<!-- github -->
<div class="col">
<label for="github_url" class="form-label">GitHub URL:</label>
<input type="text" class="form-control" id="github_url" name="github_url" value="https://www.github.com/compscidr">
<input type="text" class="form-control" id="github_url" name="github_url" value="" placeholder="https://github.com/you">
</div>
<!-- linkedin -->
<div class="col">
<label for="linkedin_url" class="form-label">LinkedIn URL:</label>
<input type="text" class="form-control" id="linkedin_url" name="linkedin_url" value="https://www.linkedin.com/in/jasonernst/">
<input type="text" class="form-control" id="linkedin_url" name="linkedin_url" value="" placeholder="https://www.linkedin.com/in/you/">
</div>
</div>

<div class="mb-4 row">
<!-- x -->
<div class="col">
<label for="x_url" class="form-label">X URL:</label>
<input type="text" class="form-control" id="x_url" name="x_url" value="https://www.x.com/compscidr">
<input type="text" class="form-control" id="x_url" name="x_url" value="" placeholder="https://x.com/you">
</div>
<!-- keybase -->
<div class="col">
<label for="keybase_url" class="form-label">Keybase URL:</label>
<input type="text" class="form-control" id="keybase_url" name="keybase_url" value="https://keybase.io/compscidr">
<input type="text" class="form-control" id="keybase_url" name="keybase_url" value="" placeholder="https://keybase.io/you">
</div>
</div>

<div class="mb-4 row">
<!-- instagram -->
<div class="col">
<label for="instagram_url" class="form-label">Instagram URL:</label>
<input type="text" class="form-control" id="instagram_url" name="instagram_url" value="https://www.instagram.com/compscidr">
<input type="text" class="form-control" id="instagram_url" name="instagram_url" value="" placeholder="https://www.instagram.com/you">
</div>
<!-- fb -->
<div class="col">
<label for="facebook_url" class="form-label">Facebook URL:</label>
<input type="text" class="form-control" id="facebook_url" name="facebook_url" value="https://www.facebook.com/jason.b.ernst">
<input type="text" class="form-control" id="facebook_url" name="facebook_url" value="" placeholder="https://www.facebook.com/you">
</div>
</div>

<div class="mb-4 row">
<!-- strava -->
<div class="col">
<label for="strava_url" class="form-label">Strava URL:</label>
<input type="text" class="form-control" id="strava_url" name="strava_url" value="https://www.strava.com/athletes/2021127">
<input type="text" class="form-control" id="strava_url" name="strava_url" value="" placeholder="https://www.strava.com/athletes/you">
</div>
<!-- spotify -->
<div class="col">
<label for="spotify_url" class="form-label">Spotify URL:</label>
<input type="text" class="form-control" id="spotify_url" name="spotify_url" value="https://open.spotify.com/user/csgrad">
<input type="text" class="form-control" id="spotify_url" name="spotify_url" value="" placeholder="https://open.spotify.com/user/you">
</div>
</div>

Expand All @@ -112,12 +112,12 @@ <h5>Socials: (leave blank if you don't want to display)</h5>
<!-- xbox -->
<div class="col">
<label for="xbox_url" class="form-label">Xbox URL:</label>
<input type="text" class="form-control" id="xbox_url" name="xbox_url" value="https://account.xbox.com/en-us/profile?gamertag=Compscidr">
<input type="text" class="form-control" id="xbox_url" name="xbox_url" value="" placeholder="https://account.xbox.com/profile?gamertag=you">
</div>
<!-- steam -->
<div class="col">
<label for="steam_url" class="form-label">Steam URL:</label>
<input type="text" class="form-control" id="steam_url" name="steam_url" value="https://steamcommunity.com/id/compscidr">
<input type="text" class="form-control" id="steam_url" name="steam_url" value="" placeholder="https://steamcommunity.com/id/you">
</div>
</div>

Expand Down
18 changes: 6 additions & 12 deletions tools/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""},
Expand Down Expand Up @@ -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)`

Expand Down
Loading