diff --git a/app/Place.php b/app/Place.php index ccf38b1b..e3bc6acc 100644 --- a/app/Place.php +++ b/app/Place.php @@ -41,6 +41,7 @@ class Place extends Model return [ 'slug' => [ 'source' => 'name', + 'onUpdate' => true, ], ]; } diff --git a/changelog.md b/changelog.md index 4dcb88a2..a56629b2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## Version 0.5.16 + - Allow place `slug`s to be re-generated + - Add syndication links for swarm and instagram + - Move bio to its own template, next step database? + ## Version 0.5.15 (2017-06-17) - Add support for ownyourgram.com sending h-card locations - change sluggable implementation diff --git a/database/seeds/NotesTableSeeder.php b/database/seeds/NotesTableSeeder.php index c6688ecb..334ba2df 100644 --- a/database/seeds/NotesTableSeeder.php +++ b/database/seeds/NotesTableSeeder.php @@ -40,5 +40,12 @@ class NotesTableSeeder extends Seeder 'note' => 'Note from somehwere', 'location' => '53.499,-2.379' ]); + $noteSyndicated = App\Note::create([ + 'note' => 'This note has all the syndication targets', + 'tweet_id' => '123456', + 'facebook_url' => 'https://www.facebook.com/post/12345789', + 'swarm_url' => 'https://www.swarmapp.com/checking/123456789', + 'instagram_url' => 'https://www.instagra.com/p/aWsEd123Jh', + ]); } } diff --git a/resources/views/notes/index.blade.php b/resources/views/notes/index.blade.php index d3087269..b892d27e 100644 --- a/resources/views/notes/index.blade.php +++ b/resources/views/notes/index.blade.php @@ -28,19 +28,4 @@ Notes « @stop -@section('bio') - @if ($homepage === true) -
My name is jonnybarnes.uk
is my site. I’m from Manchester, UK.
I am active to varying degrees on several silos:
- -My usual online nickname is normally jonnybarnes
for other services. Here’s a profile pic. I also have a PGP key, with fingerprint. You can email me at jonny at my domain, or message me on XMPP using the same address.
My name is jonnybarnes.uk
is my site. I’m from Manchester, UK.
I am active to varying degrees on several silos:
+ +My usual online nickname is normally jonnybarnes
for other services. Here’s a profile pic. I also have a PGP key, with fingerprint. You can email me at jonny at my domain, or message me on XMPP using the same address.