1769603703

This commit is contained in:
2026-01-28 14:35:09 +02:00
parent f2c10c10bd
commit be23837699
3 changed files with 12 additions and 22 deletions
+11 -17
View File
@@ -64,19 +64,14 @@
let bib_data = yaml(bib_path) let bib_data = yaml(bib_path)
let format-entry(c) = { let format-entry(c) = {
if (c.type == "Web") { (
let date_array = c.url.date.split("-") "Web": c => {
let date = datetime( let date_array = c.url.date.split("-")
year: int(date_array.at(0)), let date = datetime(year: int(date_array.at(0)), month: int(date_array.at(1)), day: int(date_array.at(2)))
month: int(date_array.at(1)), [#c.title. #c.author. URL: #c.url.value (дата звернення: #date.display("[day].[month].[year]")).]
day: int(date_array.at(2)), },
) "Book": c => [#c.author #c.title. #c.publisher, #c.date. #c.page-total c.],
[#c.title. #c.author. URL: #c.url.value (дата звернення: #date.display("[day].[month].[year]")).] ).at(c.type, default: panic("Unsupported bibliography entry type"))(c)
} else if (
c.type == "Book"
) [#c.author #c.title. #c.publisher, #c.date. #c.page-total c. ] else {
panic("Unsupported bibliography entry type")
}
} }
show enum.item: it => { show enum.item: it => {
@@ -88,10 +83,9 @@
} }
context { context {
for (i, citation) in query(ref.where(element: none)) for (i, citation) in query(ref.where(element: none)).map(r => str(r.target)).dedup().enumerate() {
.map(r => str(r.target)) enum.item(i + 1, format-entry(bib_data.at(citation)))
.dedup() }
.enumerate() { enum.item(i + 1, format-entry(bib_data.at(citation))) }
} }
} }
-1
View File
@@ -6,7 +6,6 @@ go:
value: https://go.dev/ value: https://go.dev/
date: 2024-12-10 date: 2024-12-10
htmx: htmx:
type: Web type: Web
title: Htmx - high power tools for html title: Htmx - high power tools for html
+1 -4
View File
@@ -40,10 +40,7 @@
[2], [Концептуальне моделювання], [24.09.24-30.09.24], [~], [2], [Концептуальне моделювання], [24.09.24-30.09.24], [~],
[2], [Постановка задачі], [28.09.24 2.10.24], [Виконано], [2], [Постановка задачі], [28.09.24 2.10.24], [Виконано],
[3], [Побудова ER-діаграми та схеми БД], [2.10.24 18.10.24], [Виконано], [3], [Побудова ER-діаграми та схеми БД], [2.10.24 18.10.24], [Виконано],
[4], [4], [Оформлення розділів 1, 2 та 3.1, 3.2 пояснювальної записки], [10.10.24 - 18.10.24], [Виконано],
[Оформлення розділів 1, 2 та 3.1, 3.2 пояснювальної записки],
[10.10.24 - 18.10.24],
[Виконано],
[5], [Перша контрольна точка з курсової роботи], [20.10.24], [Виконано], [5], [Перша контрольна точка з курсової роботи], [20.10.24], [Виконано],
[6], [Нормалізація бази даних], [20.10.24 - 15.11.24], [Виконано], [6], [Нормалізація бази даних], [20.10.24 - 15.11.24], [Виконано],