Now the abs_to_rel module is enabled, links can be made relative so they work on the current environment.
100 lines
No EOL
6.3 KiB
JSON
100 lines
No EOL
6.3 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "5cc109fc-0d43-4d3d-9523-b60e9b27198d"
|
|
}
|
|
],
|
|
"langcode": [
|
|
{
|
|
"value": "en"
|
|
}
|
|
],
|
|
"type": [
|
|
{
|
|
"target_id": "daily_email",
|
|
"target_type": "node_type",
|
|
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
|
}
|
|
],
|
|
"revision_timestamp": [
|
|
{
|
|
"value": "2025-05-11T09:00:57+00:00"
|
|
}
|
|
],
|
|
"revision_uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"revision_log": [],
|
|
"status": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"title": [
|
|
{
|
|
"value": "'Talking Drupal' and Tailwind CSS"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2022-08-18T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-05-11T09:00:57+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2022\/08\/18\/talking-drupal-tailwind-css",
|
|
"langcode": "en"
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>In March, I was a guest again on the Talking Drupal podcast. This time I was talking about utility CSS and, in particular, the Tailwind CSS framework.<\/p>\n\n<p>I've become a big fan of this approach to styling websites and was an early adopter of Tailwind, and have released <a href=\"https:\/\/www.drupal.org\/project\/tailwindcss\">a starter-kit theme<\/a> for building custom Drupal themes with Tailwind CSS based on what I was using for my own client projects.<\/p>\n\n<h2 id=\"rebuilding-talking-drupal-with-tailwind\">Rebuilding Talking Drupal with Tailwind<\/h2>\n\n<p>Usually when I give a Tailwind CSS talk at a conference or user group, I rebuild something familiar - maybe a page of their website - as an example and to explain some of the concepts and anything that was particularly interesting during the build. (I have <a href=\"/blog\/uis-ive-rebuilt-tailwind-css\">a blog post<\/a> that lists the ones that I've done before).<\/p>\n\n<p>After this podcast episode, I built a <a href=\"https:\/\/talking-drupal-tailwindcss.oliverdavies.uk\">Tailwind version of the Talking Drupal homepage<\/a>.<\/p>\n\n<p>But, given that Drupal uses Twig and that we'd talked about best practices around using a templating engine to use loops and extract components to organise code and reduce duplication, I definitely wanted to build this example using Twig templates.<\/p>\n\n<p>Drupal seemed like too much for a single page example, and Symfony or Sculpin could distract from the main focus of the demo, so I decided to start from scratch with an empty PHP file and add Twig and any other dependencies myself.<\/p>\n\n<p><a href=\"https:\/\/github.com\/opdavies\/talking-drupal-tailwindcss\">The code repository<\/a> is publicly viewable on my GitHub profile so people can look at the code and see some of the things that I talked about during the episode in practice and not just the resulting HTML a browser.<\/p>\n\n<p>You can <a href=\"https:\/\/talkingdrupal.com\/338\">listen to the episode<\/a>, and if you want any more information, the slides and video from my <a href=\"/talks\/taking-flight-with-tailwind-css\">Taking Flight with Tailwind CSS talk<\/a> are on my website.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>In March, I was a guest again on the Talking Drupal podcast. This time I was talking about utility CSS and, in particular, the Tailwind CSS framework.<\/p>\n\n<p>I've become a big fan of this approach to styling websites and was an early adopter of Tailwind, and have released <a href=\"https:\/\/www.drupal.org\/project\/tailwindcss\">a starter-kit theme<\/a> for building custom Drupal themes with Tailwind CSS based on what I was using for my own client projects.<\/p>\n\n<h2 id=\"rebuilding-talking-drupal-with-tailwind\">Rebuilding Talking Drupal with Tailwind<\/h2>\n\n<p>Usually when I give a Tailwind CSS talk at a conference or user group, I rebuild something familiar - maybe a page of their website - as an example and to explain some of the concepts and anything that was particularly interesting during the build. (I have <a href=\"/blog\/uis-ive-rebuilt-tailwind-css\">a blog post<\/a> that lists the ones that I've done before).<\/p>\n\n<p>After this podcast episode, I built a <a href=\"https:\/\/talking-drupal-tailwindcss.oliverdavies.uk\">Tailwind version of the Talking Drupal homepage<\/a>.<\/p>\n\n<p>But, given that Drupal uses Twig and that we'd talked about best practices around using a templating engine to use loops and extract components to organise code and reduce duplication, I definitely wanted to build this example using Twig templates.<\/p>\n\n<p>Drupal seemed like too much for a single page example, and Symfony or Sculpin could distract from the main focus of the demo, so I decided to start from scratch with an empty PHP file and add Twig and any other dependencies myself.<\/p>\n\n<p><a href=\"https:\/\/github.com\/opdavies\/talking-drupal-tailwindcss\">The code repository<\/a> is publicly viewable on my GitHub profile so people can look at the code and see some of the things that I talked about during the episode in practice and not just the resulting HTML a browser.<\/p>\n\n<p>You can <a href=\"https:\/\/talkingdrupal.com\/338\">listen to the episode<\/a>, and if you want any more information, the slides and video from my <a href=\"/talks\/taking-flight-with-tailwind-css\">Taking Flight with Tailwind CSS talk<\/a> are on my website.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "1970-01-01T00:33:45+00:00",
|
|
"guid": null,
|
|
"hash": "aea872543f2df95bb71f3cb9dffe5360",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |