i am not so great at this stuff probably

This commit is contained in:
Matthew Connelly 2015-03-09 21:04:53 +00:00
parent dc1ca36eb4
commit ea44a73f56
2 changed files with 3 additions and 2 deletions

View File

@ -140,7 +140,7 @@ sub do_cache {
push @nav, {navname => $_, navurl => $blog->{links}->{$_},} for sort {$b cmp $a } keys $blog->{links}; push @nav, {navname => $_, navurl => $blog->{links}->{$_},} for sort {$b cmp $a } keys $blog->{links};
%defparams = ( %defparams = (
INDEX => 0, NAV => [@nav], url => $blog->{url}, recent => [@posts[0 .. ($#posts > 7? 7 : $#posts)]], INDEX => 0, NAV => [@nav], url => $blog->{url}, recent => [@posts[0 .. ($#posts > 7? 7 : $#posts)]],
gentime => timefmt($lastcache, 'datetime'), version => $VERSION, generator => $ME, generatorurl => $ME_GH, host => $HOST, gentime => timefmt($lastcache, '%H:%M %e/%m/%y %Z'), generator => $ME, generatorurl => $ME_GH, host => $HOST,
about => $blog->{about}, author => $blog->{author}, name => $blog->{name}, tagline => $blog->{tagline}, keywords => $blog->{keywords}, about => $blog->{about}, author => $blog->{author}, name => $blog->{name}, tagline => $blog->{tagline}, keywords => $blog->{keywords},
robots => $blog->{config}->{indexable}? '<meta name="ROBOTS" content="INDEX, FOLLOW" />' : '<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />', robots => $blog->{config}->{indexable}? '<meta name="ROBOTS" content="INDEX, FOLLOW" />' : '<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />',
); );

View File

@ -8,7 +8,7 @@ I'm a Systems Administrator, hobbyist photographer and scripting fanatic from Sc
I can be contacted in the following ways: I can be contacted in the following ways:
- email: matthew (at) maff (dot) scot - email: [matthew@maff.scot][11]
- PGP: [0x7B8A457D282B7CB6][9] (keybase: [maff][10]) - PGP: [0x7B8A457D282B7CB6][9] (keybase: [maff][10])
- iMessage: hi@maff.scot - iMessage: hi@maff.scot
- twitter, telegram: @maffsie - twitter, telegram: @maffsie
@ -25,3 +25,4 @@ I can be contacted in the following ways:
[8]: https://entropynet.net/ [8]: https://entropynet.net/
[9]: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B8A457D282B7CB6 [9]: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B8A457D282B7CB6
[10]: https://keybase.io/maff/ [10]: https://keybase.io/maff/
[11]: mailto:matthew@maff.scot