attributes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 7,
|
||||
"id": "090c7992",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -134,21 +134,26 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"new id 10\n",
|
||||
"Successfully added Post #10: test timeline\n"
|
||||
"have been fighting with tailwind & boostrap for hours...\n",
|
||||
"\n",
|
||||
"Post 10 updated successfully.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"FIEL_PATH = \"../content/posts.py\"\n",
|
||||
"#get_entry(FIEL_PATH, 0)\n",
|
||||
"get_entry(FIEL_PATH, 10)\n",
|
||||
"# update_entry(FIEL_PATH, target_id, new_text)\n",
|
||||
"# add_entry(FIEL_PATH, \"title\", \"subtitle\", new_text)\n",
|
||||
"text=\"\"\"<h1 class=\"text-3xl font-bold mb-8\">Project Timeline</h1>\n",
|
||||
"\n",
|
||||
"{% include \"components/timeline.html\" %}\n",
|
||||
"text=\"\"\"I have been fighting with tailwind \n",
|
||||
"& bootstrap for past two days... It was easy to write a standalone \n",
|
||||
"web page with a few lines under tailwind or bootstrap, but not with the \n",
|
||||
"combination of both. I had the nice timeline in first 2 minutes, and \n",
|
||||
"then made 60+ hopeless commits for the font and spacing behavior under \n",
|
||||
"bootstrap...\n",
|
||||
"\"\"\"\n",
|
||||
"add_entry(FIEL_PATH, \"test timeline\", \"subtitle\", text)"
|
||||
"#add_entry(FIEL_PATH, \"test timeline\", \"subtitle\", text)\n",
|
||||
"update_entry(FIEL_PATH, 10, text)\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user