diff --git a/src/_data/site.json b/src/_data/site.json index 72fb4f2..4b7c897 100644 --- a/src/_data/site.json +++ b/src/_data/site.json @@ -186,35 +186,15 @@ }, "footer": { "links": [ + { + "label": "RSS for Dev Posts", + "icon": "fas fa-fw fa-rss-square", + "url": "/feed-dev.xml" + }, { "label": "Email", "icon": "fas fa-fw fa-envelope-square", "url": "mailto:rob@tarasis.net" - }, - { - "label": "Twitter", - "icon": "fab fa-fw fa-twitter-square", - "url": "https://twitter.com/tarasis" - }, - { - "label": "Mastodon", - "icon": "fab fa-fw fa-mastodon", - "url": "https://social.tarasis.net/@tarasis" - }, - { - "label": "Facebook", - "icon": "fab fa-fw fa-facebook", - "url": "https://www.facebook.com/tarasis" - }, - { - "label": "GitHub", - "icon": "fab fa-fw fa-github", - "url": "https://github.com/tarasis" - }, - { - "label": "Instagram", - "icon": "fab fa-fw fa-instagram", - "url": "https://instagram.com/tarasis" } ] }, @@ -331,30 +311,30 @@ }, "defaults": { "posts": { - "path": "_posts", - "type": "posts", - "layout": "single", - "classes": "wide", - "author_profile": true, - "read_time": true, - "share": true, - "related": true, - "comments": true, - "sidebar":true, - "show_date": true + "path": "_posts", + "type": "posts", + "layout": "single", + "classes": "wide", + "author_profile": true, + "read_time": true, + "share": true, + "related": true, + "comments": true, + "sidebar": true, + "show_date": true }, "pages": { - "path": "_pages", - "type": "pages", - "layout": "single", - "author_profile": true + "path": "_pages", + "type": "pages", + "layout": "single", + "author_profile": true }, - "recipies": { - "path": "", - "type": "recipes", - "layout": "single", - "author_profile": true, - "share": true + "recipies": { + "path": "", + "type": "recipes", + "layout": "single", + "author_profile": true, + "share": true } }, "post_ext": "markdown", @@ -362,4 +342,4 @@ "post_layout": "single", "page_layout": "page", "titlecase": true -} +} \ No newline at end of file diff --git a/src/_posts/2020-04-20-swift-coding-challenge-2.md b/src/_posts/2020-04-20-swift-coding-challenge-2.md index fcb5387..4588af2 100644 --- a/src/_posts/2020-04-20-swift-coding-challenge-2.md +++ b/src/_posts/2020-04-20-swift-coding-challenge-2.md @@ -5,6 +5,7 @@ tags: - ios - swift - coding-challenges +- dev category: coding-challenges date: 2020-04-20 15:28:00 +01:00 --- diff --git a/src/_posts/2020-04-20-swift-coding-challenges.md b/src/_posts/2020-04-20-swift-coding-challenges.md index f944417..e5dfa72 100644 --- a/src/_posts/2020-04-20-swift-coding-challenges.md +++ b/src/_posts/2020-04-20-swift-coding-challenges.md @@ -5,12 +5,13 @@ tags: - ios - swift - coding-challenges +- dev category: coding-challenges date: 2020-04-20 13:36:00 +01:00 --- As an effort to improve and challenge myself I got a copy of Paul Hudson's [Swift Coding Challenges](https://www.hackingwithswift.com/store/swift-coding-challenges) book and I'm going to work through it and post my thoughts on it and about how I did. I (probably) won't post the answers because that might spoil it for some. -For Challenge 1 I basically had the first answer, however I ... um ... made it more complex than I needed to (I'm going to blame it on doing it at 1am). I ended up using a dictionary to store the character and the count of the occurrences of that character, yet I still dropped out of the function if the dictionary keys contained the current character. +For Challenge 1 I basically had the first answer, however I ... um ... made it more complex than I needed to (I'm going to blame it on doing it at 1am). I ended up using a dictionary to store the character and the count of the occurrences of that character, yet I still dropped out of the function if the dictionary keys contained the current character. I was over thinking the challenge and for some reason thinking about actually counting the occurrences of letters. diff --git a/src/_posts/2022-10-15-frontend-mentor-challenge-deployment.md b/src/_posts/2022-10-15-frontend-mentor-challenge-deployment.md index c966bbe..2472ee4 100644 --- a/src/_posts/2022-10-15-frontend-mentor-challenge-deployment.md +++ b/src/_posts/2022-10-15-frontend-mentor-challenge-deployment.md @@ -1,6 +1,6 @@ --- title: What happens when I finish a Frontend Mentor Challenge (or how I build and deploy an 11ty site) -tags: [webdev, site, frontendmentor] +tags: [webdev, site, frontendmentor, dev] category: [programming, webdev] date: 2022-10-15 --- diff --git a/src/_posts/2023-02-19-copy-code-blocks.md b/src/_posts/2023-02-19-copy-code-blocks.md index 32a3261..9b73958 100644 --- a/src/_posts/2023-02-19-copy-code-blocks.md +++ b/src/_posts/2023-02-19-copy-code-blocks.md @@ -1,6 +1,6 @@ --- title: Copy Code Blocks -tags: [webdev, site] +tags: [webdev, site, dev] category: [site, webdev] date: 2023-02-19 --- diff --git a/src/_posts/outline-border-radius.md b/src/_posts/outline-border-radius.md index 935de99..16338bf 100644 --- a/src/_posts/outline-border-radius.md +++ b/src/_posts/outline-border-radius.md @@ -1,6 +1,6 @@ --- title: Border Radius on an Outline in CSS -tags: [webdev, css] +tags: [webdev, css, dev] category: [css, webdev] date: 2023-02-20 excerpt: A little note about using border-radius with an outline. diff --git a/src/feed-dev.njk b/src/feed-dev.njk new file mode 100644 index 0000000..0030496 --- /dev/null +++ b/src/feed-dev.njk @@ -0,0 +1,44 @@ +---json +{ + "permalink": "feed-dev.xml", + "eleventyExcludeFromCollections": true, + "metadata": { + "title": "TDN: RMCG", + "subtitle": "πŸ‘¨β€πŸ’» πŸšΆβ€β™‚οΈ πŸ’­ 🀯", + "language": "en", + "url": "https://tarasis.net/", + "author": { + "name": "Robert McGovern", + "email": "rob@tarasis.net" + } + } +} +--- + + + {{ metadata.title }} + {{ metadata.subtitle }} + + + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} + {{ metadata.url }} + + {{ metadata.author.name }} + {{ metadata.author.email }} + +{%- for post in collections.posts %} +{%- for tag in post.data.tags %} +{# {{ post | inspect }} #} +{%- if tag === "dev" %} +{%- set absolutePostUrl = post.url | absoluteUrl(metadata.url) %} + +{{ post.data.title }} + +{{ post.date | dateToRfc3339 }} +{{ absolutePostUrl }} +{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} + +{%- endif %} +{%- endfor %} +{%- endfor %} + \ No newline at end of file