attributes
This commit is contained in:
0
.gitattribute → .gitattributes
vendored
0
.gitattribute → .gitattributes
vendored
@@ -2,7 +2,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": 7,
|
||||||
"id": "090c7992",
|
"id": "090c7992",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -134,21 +134,26 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"new id 10\n",
|
"have been fighting with tailwind & boostrap for hours...\n",
|
||||||
"Successfully added Post #10: test timeline\n"
|
"\n",
|
||||||
|
"Post 10 updated successfully.\n"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"FIEL_PATH = \"../content/posts.py\"\n",
|
"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",
|
"# update_entry(FIEL_PATH, target_id, new_text)\n",
|
||||||
"# add_entry(FIEL_PATH, \"title\", \"subtitle\", 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",
|
"text=\"\"\"I have been fighting with tailwind \n",
|
||||||
"\n",
|
"& bootstrap for past two days... It was easy to write a standalone \n",
|
||||||
"{% include \"components/timeline.html\" %}\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",
|
"\"\"\"\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