rons of new bread and stuff

This commit is contained in:
2020-11-24 00:29:05 +01:00
parent a9bff361ab
commit 3de7b54eae
522 changed files with 204 additions and 11 deletions
+12 -7
View File
@@ -25,6 +25,7 @@ pub struct Bread {
path: PathBuf, path: PathBuf,
rel_path: PathBuf, rel_path: PathBuf,
pub date: chrono::NaiveDate, pub date: chrono::NaiveDate,
pub slug: String,
note: String, note: String,
rss_note: String, rss_note: String,
images: Vec<PathBuf>, images: Vec<PathBuf>,
@@ -40,7 +41,7 @@ pub struct BreadLink {
impl Bread { impl Bread {
pub fn compile(&mut self, config: &mut GalleryInfo, prev : Option<BreadLink>, next : Option<BreadLink>) -> Fallible<()> { pub fn compile(&mut self, config: &mut GalleryInfo, prev : Option<BreadLink>, next : Option<BreadLink>) -> Fallible<()> {
let date = self.date.format("%Y/%m/%d").to_string(); let date = self.date.format("%Y/%m/%d").to_string();
let date_slug = self.date.format("%Y-%m-%d").to_string(); let date_slug = &self.slug;
let detail_file = date_slug.clone() + ".html"; let detail_file = date_slug.clone() + ".html";
println!("+ {}", date_slug); println!("+ {}", date_slug);
@@ -204,7 +205,7 @@ impl Bread {
pub fn to_link(&self) -> BreadLink { pub fn to_link(&self) -> BreadLink {
BreadLink { BreadLink {
label: self.date.format("%Y/%m/%d").to_string(), label: self.date.format("%Y/%m/%d").to_string(),
url: self.date.format("%Y-%m-%d.html").to_string(), url: format!("{}.html", self.slug),
} }
} }
@@ -257,12 +258,16 @@ impl Bread {
}) })
.collect(); .collect();
let bname = bpath.file_name().unwrap().to_string_lossy();
let date = if bname.chars().nth(10) == Some('-') {
&bname[0..10]
} else {
&bname
};
return Ok(Bread { return Ok(Bread {
date: NaiveDate::parse_from_str( date: NaiveDate::parse_from_str(&date, "%Y-%m-%d").expect("malformed date"),
&bpath.file_name().unwrap().to_string_lossy(), slug: bname.to_string(),
"%Y-%m-%d",
)
.unwrap(),
rel_path: bpath.strip_prefix(base_dir)?.to_path_buf(), rel_path: bpath.strip_prefix(base_dir)?.to_path_buf(),
path: bpath, path: bpath,
note, note,
+1 -1
View File
@@ -183,7 +183,7 @@ fn main() -> Fallible<()> {
// main page // main page
{ {
// make thumbs go from the newest to the oldest // make thumbs go from the newest to the oldest
breads.reverse(); //breads.reverse(); // actually don't do that
let oldest = ginfo.oldest_year; let oldest = ginfo.oldest_year;
let latest = ginfo.latest_year; let latest = ginfo.latest_year;
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+1
View File
@@ -0,0 +1 @@
stejk
Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

+3
View File
@@ -0,0 +1,3 @@
zapečená kulatá cuketa se sýrem a mletým
seřízká aby se vešla do remosky
Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 KiB

+1
View File
@@ -0,0 +1 @@
idk what this is but it was really good
Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 KiB

+1
View File
@@ -0,0 +1 @@
udon
Binary file not shown.

After

Width:  |  Height:  |  Size: 729 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 KiB

+1
View File
@@ -0,0 +1 @@
kefírový koláč
Binary file not shown.

After

Width:  |  Height:  |  Size: 689 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 KiB

+3
View File
@@ -0,0 +1,3 @@
tatramelky
nebylo to úplně ono, ale skoro
Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 KiB

+1
View File
@@ -0,0 +1 @@
remosková pizza
Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

+5
View File
@@ -0,0 +1,5 @@
This was an attempt to make fake umeboshi.
I made them way too salty and sour, but it was an interesting experiment. I might try it again.
The process took several weeks
Binary file not shown.

After

Width:  |  Height:  |  Size: 863 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 KiB

+1
View File
@@ -0,0 +1 @@
švestkový koláč s drobenkou
Binary file not shown.

After

Width:  |  Height:  |  Size: 816 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 KiB

+1
View File
@@ -0,0 +1 @@
wakame soup
Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

+1
View File
@@ -0,0 +1 @@
turns out fried leek is much better than grilled leek, take that, skyrim
Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

+1
View File
@@ -0,0 +1 @@
drying fruit in my new dryer machine
Binary file not shown.

After

Width:  |  Height:  |  Size: 714 KiB

+1
View File
@@ -0,0 +1 @@
black eyed beans with sausage, speck, onion. that's all. easy and tasty
Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 KiB

+3
View File
@@ -0,0 +1,3 @@
コロッケ
I saw these in an anime
Binary file not shown.

After

Width:  |  Height:  |  Size: 764 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 KiB

@@ -0,0 +1,3 @@
Candied pears. I spent a week on these, but it was very much worth it.
They have to be repeatedly brought to a boil in sugary water and left cool and sit in it overnight.
Binary file not shown.

After

Width:  |  Height:  |  Size: 890 KiB

+1
View File
@@ -0,0 +1 @@
so I discovered soba noodles
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

+1
View File
@@ -0,0 +1 @@
so I got some galangal and other stuff and tried to make tomyum. it wasn't exactly like the instant noodles version, but it was prety good
Binary file not shown.

After

Width:  |  Height:  |  Size: 791 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

+8
View File
@@ -0,0 +1,8 @@
Homemade tomato paste to use up excess tomatoes.
I got the recipe from someone on fedi:
> You could peel the tomatoes, boil them up, let it all simmer to reduce to an intensive tasting extract. Put it through a very fine sieve to get rid of solid matter, if you want. Then freeze it in small portions (e.g. icecube-sized). Perfect base for soups, sauces or to simply being used as a spice for preparing other dishes.
> If you keep the temperature low to medium-low you only need to stir occasionally to not let it scorch - make sure to really scrape the bottom of the pot while stirring; most people tend to overlook this.
It's actually easy to get a feeling for when/ how often you need to stir. And if your not confident in your skill (really though, there's no reason for that), try a small test batch first.
> Give it time until your thin juice becomes as thick as gravy or sauce bolognese - basically, the thicker (as in more concentrated) the more intensive the taste. Think tomato paste.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

@@ -0,0 +1,3 @@
roasted pumpkin
here's my recipe: olive oil, garlic, salt, bit of sugar, cayenne, any herbs you feel like. roast. serve
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 KiB

+1
View File
@@ -0,0 +1 @@
コロッケ
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 KiB

+1
View File
@@ -0,0 +1 @@
mřížkový linecký koláč
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

+1
View File
@@ -0,0 +1 @@
dulce de mebrillo, recommended by friends from Spain. This one actually lasted me to August the next year. Best with a piece of cheese and black forest ham
Binary file not shown.

After

Width:  |  Height:  |  Size: 612 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 KiB

@@ -0,0 +1 @@
makový koláč se švestkami. recept už nevím
Binary file not shown.

After

Width:  |  Height:  |  Size: 724 KiB

+1
View File
@@ -0,0 +1 @@
pho ga
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

@@ -0,0 +1 @@
"polévka z hovězí oháňky"
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

+1
View File
@@ -0,0 +1 @@
my first try at shrimp nigiri. the green stuff is wasabi paste
Binary file not shown.

After

Width:  |  Height:  |  Size: 976 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

+1
View File
@@ -0,0 +1 @@
šunkofleky s uzeným (z žebírek)
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+3
View File
@@ -0,0 +1,3 @@
nabe
almost
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Some files were not shown because too many files have changed in this diff Show More