rons of new bread and stuff
@@ -25,6 +25,7 @@ pub struct Bread {
|
||||
path: PathBuf,
|
||||
rel_path: PathBuf,
|
||||
pub date: chrono::NaiveDate,
|
||||
pub slug: String,
|
||||
note: String,
|
||||
rss_note: String,
|
||||
images: Vec<PathBuf>,
|
||||
@@ -40,7 +41,7 @@ pub struct BreadLink {
|
||||
impl Bread {
|
||||
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_slug = self.date.format("%Y-%m-%d").to_string();
|
||||
let date_slug = &self.slug;
|
||||
let detail_file = date_slug.clone() + ".html";
|
||||
println!("+ {}", date_slug);
|
||||
|
||||
@@ -204,7 +205,7 @@ impl Bread {
|
||||
pub fn to_link(&self) -> BreadLink {
|
||||
BreadLink {
|
||||
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();
|
||||
|
||||
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 {
|
||||
date: NaiveDate::parse_from_str(
|
||||
&bpath.file_name().unwrap().to_string_lossy(),
|
||||
"%Y-%m-%d",
|
||||
)
|
||||
.unwrap(),
|
||||
date: NaiveDate::parse_from_str(&date, "%Y-%m-%d").expect("malformed date"),
|
||||
slug: bname.to_string(),
|
||||
rel_path: bpath.strip_prefix(base_dir)?.to_path_buf(),
|
||||
path: bpath,
|
||||
note,
|
||||
|
||||
@@ -183,7 +183,7 @@ fn main() -> Fallible<()> {
|
||||
// main page
|
||||
{
|
||||
// make thumbs go from the newest to the oldest
|
||||
breads.reverse();
|
||||
//breads.reverse(); // actually don't do that
|
||||
|
||||
let oldest = ginfo.oldest_year;
|
||||
let latest = ginfo.latest_year;
|
||||
|
||||
|
After Width: | Height: | Size: 1.2 MiB |
@@ -0,0 +1 @@
|
||||
stejk
|
||||
|
After Width: | Height: | Size: 728 KiB |
@@ -0,0 +1,3 @@
|
||||
zapečená kulatá cuketa se sýrem a mletým
|
||||
|
||||
seřízká aby se vešla do remosky
|
||||
|
After Width: | Height: | Size: 740 KiB |
|
After Width: | Height: | Size: 796 KiB |
|
After Width: | Height: | Size: 772 KiB |
|
After Width: | Height: | Size: 747 KiB |
@@ -0,0 +1 @@
|
||||
idk what this is but it was really good
|
||||
|
After Width: | Height: | Size: 629 KiB |
|
After Width: | Height: | Size: 590 KiB |
@@ -0,0 +1 @@
|
||||
udon
|
||||
|
After Width: | Height: | Size: 729 KiB |
|
After Width: | Height: | Size: 641 KiB |
@@ -0,0 +1 @@
|
||||
kefírový koláč
|
||||
|
After Width: | Height: | Size: 689 KiB |
|
After Width: | Height: | Size: 735 KiB |
@@ -0,0 +1,3 @@
|
||||
tatramelky
|
||||
|
||||
nebylo to úplně ono, ale skoro
|
||||
|
After Width: | Height: | Size: 721 KiB |
|
After Width: | Height: | Size: 858 KiB |
@@ -0,0 +1 @@
|
||||
remosková pizza
|
||||
|
After Width: | Height: | Size: 728 KiB |
|
After Width: | Height: | Size: 827 KiB |
|
After Width: | Height: | Size: 747 KiB |
|
After Width: | Height: | Size: 875 KiB |
|
After Width: | Height: | Size: 628 KiB |
|
After Width: | Height: | Size: 566 KiB |
|
After Width: | Height: | Size: 775 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
@@ -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
|
||||
|
After Width: | Height: | Size: 863 KiB |
|
After Width: | Height: | Size: 766 KiB |
@@ -0,0 +1 @@
|
||||
švestkový koláč s drobenkou
|
||||
|
After Width: | Height: | Size: 816 KiB |
|
After Width: | Height: | Size: 663 KiB |
@@ -0,0 +1 @@
|
||||
wakame soup
|
||||
|
After Width: | Height: | Size: 643 KiB |
@@ -0,0 +1 @@
|
||||
turns out fried leek is much better than grilled leek, take that, skyrim
|
||||
|
After Width: | Height: | Size: 535 KiB |
|
After Width: | Height: | Size: 616 KiB |
|
After Width: | Height: | Size: 801 KiB |
|
After Width: | Height: | Size: 826 KiB |
|
After Width: | Height: | Size: 936 KiB |
|
After Width: | Height: | Size: 760 KiB |
|
After Width: | Height: | Size: 926 KiB |
|
After Width: | Height: | Size: 648 KiB |
|
After Width: | Height: | Size: 629 KiB |
@@ -0,0 +1 @@
|
||||
drying fruit in my new dryer machine
|
||||
|
After Width: | Height: | Size: 714 KiB |
@@ -0,0 +1 @@
|
||||
black eyed beans with sausage, speck, onion. that's all. easy and tasty
|
||||
|
After Width: | Height: | Size: 636 KiB |
|
After Width: | Height: | Size: 734 KiB |
|
After Width: | Height: | Size: 726 KiB |
@@ -0,0 +1,3 @@
|
||||
コロッケ
|
||||
|
||||
I saw these in an anime
|
||||
|
After Width: | Height: | Size: 764 KiB |
|
After Width: | Height: | Size: 771 KiB |
|
After Width: | Height: | Size: 667 KiB |
|
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.
|
||||
|
After Width: | Height: | Size: 890 KiB |
@@ -0,0 +1 @@
|
||||
so I discovered soba noodles
|
||||
|
After Width: | Height: | Size: 3.9 MiB |
@@ -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
|
||||
|
After Width: | Height: | Size: 791 KiB |
|
After Width: | Height: | Size: 592 KiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
@@ -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.
|
||||
|
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
|
||||
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 923 KiB |
@@ -0,0 +1 @@
|
||||
コロッケ
|
||||
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1017 KiB |
@@ -0,0 +1 @@
|
||||
mřížkový linecký koláč
|
||||
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 798 KiB |
|
After Width: | Height: | Size: 736 KiB |
|
After Width: | Height: | Size: 742 KiB |
@@ -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
|
||||
|
After Width: | Height: | Size: 612 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 922 KiB |
|
After Width: | Height: | Size: 674 KiB |
@@ -0,0 +1 @@
|
||||
makový koláč se švestkami. recept už nevím
|
||||
|
After Width: | Height: | Size: 724 KiB |
@@ -0,0 +1 @@
|
||||
pho ga
|
||||
|
After Width: | Height: | Size: 1.0 MiB |
@@ -0,0 +1 @@
|
||||
"polévka z hovězí oháňky"
|
||||
|
After Width: | Height: | Size: 1.0 MiB |
@@ -0,0 +1 @@
|
||||
my first try at shrimp nigiri. the green stuff is wasabi paste
|
||||
|
After Width: | Height: | Size: 976 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
@@ -0,0 +1 @@
|
||||
šunkofleky s uzeným (z žebírek)
|
||||
|
After Width: | Height: | Size: 1.2 MiB |
@@ -0,0 +1,3 @@
|
||||
nabe
|
||||
|
||||
almost
|
||||
|
After Width: | Height: | Size: 1.2 MiB |