diff --git a/posts/a-new-post.md b/posts/a-new-post.md
new file mode 100644
index 0000000..eb52f41
--- /dev/null
+++ b/posts/a-new-post.md
@@ -0,0 +1,11 @@
+# A New Post
+
+This is a new post.
+
+## Sub-heading
+
+This is a sub-heading.
+
+## Image
+
+
diff --git a/posts/a-new-post/photo-1608848461950-0fe51dfc41cb.jpg b/posts/a-new-post/photo-1608848461950-0fe51dfc41cb.jpg
new file mode 100644
index 0000000..91ad25e
Binary files /dev/null and b/posts/a-new-post/photo-1608848461950-0fe51dfc41cb.jpg differ
diff --git a/project_templates/.nvim.lua b/project_templates/.nvim.lua
index 642bd6e..e0df6ba 100644
--- a/project_templates/.nvim.lua
+++ b/project_templates/.nvim.lua
@@ -117,14 +117,11 @@ vim.api.nvim_create_user_command("Args", function(a) updateArgs(a.fargs) end,
{ nargs = '*', desc = "Update run/debug arguments" })
if dap_ok then
- -- We need to query this to get the sysroot
- -- ls $(rustc --print sysroot)/lib/rustlib/etc
- local rust_path = vim.fn.system("rustc --print sysroot")
- -- trim trailing newline
- rust_path =
+ local rust_path = vim.fn.system("rustc --print sysroot") -- We need to query this to get the sysroot
+ rust_path = string.sub(rust_path, 1, #rust_path - 1) -- trim trailing newline
local lldb_init = {
- "command script import "..rust_path.."/lib/rustlib/etc/lldb_lookup.py",
- "command source "..rust_path.."lib/rustlib/etc/lldb_commands",
+ "command script import " .. rust_path .. "/lib/rustlib/etc/lldb_lookup.py",
+ "command source " .. rust_path .. "/lib/rustlib/etc/lldb_commands",
}
dap_configs = {
{
diff --git a/templates/index.html b/templates/index.html
index d2c6a36..8cf440f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,4 @@
$