Ajout tags #7

Merged
florian.richer merged 13 commits from refactor-tags into main 2024-01-07 00:49:58 +01:00
3 changed files with 2 additions and 2 deletions
Showing only changes of commit 06ab69d1b8 - Show all commits

View file

@ -33,7 +33,7 @@ COPY --from=builder /app/target/site /app/site
# Copy Cargo.toml if its needed at runtime
COPY --from=builder /app/Cargo.toml /app/
# Copy all data files
COPY --from=builder /app/markdowns /app/markdowns
COPY --from=builder /app/data_src /app/data_src
WORKDIR /app
# Set any required env variables and

View file

@ -61,7 +61,7 @@ cfg_if::cfg_if! {
let mut posts: Vec<Self> = Vec::new();
let folder_path = Path::new("markdowns").join(folder);
let folder_path = Path::new("data_src").join(folder);
let paths = read_dir(folder_path).map_err(|e| e.to_string())?;
for path_result in paths {