diff --git a/README.md b/README.md index 9b30193..0e34b79 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,11 @@ - [ ] Be able to Remove Comments - [ ] Be able to edit comments - [ ] Complete home page -- [ ] Make the footer always stick to the down of the screen +- [x] Make the footer always stick to the down of the screen - [ ] Make the header and footer dynamic and load from a javascript file - [ ] Add reactions to posts - [ ] access for everyone to assign posts to labels - [ ] Toggle for switching between light and dark mode - [ ] Complete the categories page -- [ ] Rewrite every python script in rust \ No newline at end of file +- [ ] Rewrite every python script in rust +- [ ] Format the date like correctly. \ No newline at end of file diff --git a/scripts_rust/Cargo.toml b/scripts_rust/Cargo.toml index d51c9d4..dc19221 100644 --- a/scripts_rust/Cargo.toml +++ b/scripts_rust/Cargo.toml @@ -8,9 +8,14 @@ authors = ["nimafanniasl"] [dependencies] reqwest = { version = "0.11.24", features = ["default", "json", "blocking"] } +select = "0.6.0" serde_json = "1.0.113" [[bin]] name = "generate_post" path = "src/generate_post.rs" + +[[bin]] +name = "add_to_recent" +path = "src/add_to_recent.rs" diff --git a/style/styles.css b/style/styles.css index 0428a6b..7406080 100644 --- a/style/styles.css +++ b/style/styles.css @@ -39,6 +39,9 @@ body, h1, h2, p { body { color: #333; font-family: Segoe UI Regular, Arial, sans-serif; + min-height: 100vh; + display: flex; + flex-direction: column; } /* Style the header */ @@ -441,6 +444,7 @@ nav ul li a { footer { background-color: rgb(40, 43, 42); color: rgb(241, 236, 226); + margin-top: auto; } .category { background-color: rgb(25, 27, 27);