refactor: move into a website directory

This commit is contained in:
Oliver Davies 2022-07-13 18:09:09 +01:00
parent 86529d7148
commit 3c5c0e808a
747 changed files with 133 additions and 2 deletions

View file

@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
use Opdavies\Sculpin\Bundle\GistEmbedBundle\SculpinGistEmbedBundle;
use Opdavies\Sculpin\Bundle\TwigMarkdownBundle\SculpinTwigMarkdownBundle;
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
final class SculpinKernel extends AbstractKernel
{
/**
* {@inheritdoc}
*/
protected function getAdditionalSculpinBundles(): array
{
return [
SculpinGistEmbedBundle::class,
SculpinTwigMarkdownBundle::class,
];
}
}

View file

@ -0,0 +1,16 @@
sculpin_content_types:
pages:
permalink: /:basename/
posts:
permalink: blog/:basename/
taxonomies: [tags]
projects:
layout: default
permalink: projects/:basename/
talks:
permalink: talks/:basename/
services:
App\TwigExtension\TalkExtension:
tags:
- { name: twig.extension }

View file

@ -0,0 +1,75 @@
name: Oliver Davies
description: Drupal Developer and Consultant
locale: en-GB
avatar:
path: "/images/social-avatar.jpg"
drupalorg:
name: opdavies
url: 'https://www.drupal.org/u/%drupalorg.name%'
email: oliver@oliverdavies.uk
experience:
start_year: 2007
github:
gist:
url: 'https://gist.github.com/%github.name%'
name: opdavies
url: 'https://github.com/%github.name%'
linkedin:
name: opdavies
url: 'https://www.linkedin.com/in/%linkedin.name%'
menus:
footer:
- title: About
href: /
is_active: '^//$'
- title: Blog
href: /blog
is_active: '^/blog/?'
- title: Talks
href: /talks
is_active: '^/talks/?'
- title: Recommendations
href: /recommendations
- title: RSS feed
href: /rss.xml
main: []
packagist:
name: opdavies
url: 'https://packagist.org/packages/%packagist.name%'
plausible:
domain: ~
savvycal:
name: opdavies
url: 'https://savvycal.com/%savvycal.name%'
speakerdeck:
name: opdavies
url: 'https://speakerdeck.com/%speakerdeck.name%'
twitter:
name: opdavies
url: 'https://twitter.com/%twitter.name%'
work:
company:
name: Transport for Wales
url: https://tfw.wales
role: Lead Software Developer
youtube:
channel:
id: UCkeK0qF9HHUPQH_fvn4ghqQ
url: 'https://www.youtube.com/channel/%youtube.channel.id%'

View file

@ -0,0 +1,8 @@
---
imports:
- sculpin_site.yml
plausible:
domain: 'oliverdavies.uk'
url: https://www.oliverdavies.uk