I’m creating a website with Franklin.jl. However, after restarting my computer, the following message appears in the REPL when I try to modify the file:
julia> using Franklin
julia> serve()
┌ Franklin Warning: in <config.md>
│ No 'config.md' file found. It is recommended to keep one.
│
│ Relevant pointers:
│ - workflow and folder structure: https://franklinjl.org/workflow/
└
ERROR: ArgumentError: The current directory doens't have a `_layout` or `_css` folder, if you are using the old folder structure, please add `@def folder_structure = v"0.1"` in your config.md; otherwise, change directory to a valid Franklin folder.
Stacktrace:
[1] serve(; clear::Bool, verb::Bool, port::Int64, single::Bool, prerender::Bool, nomess::Bool, is_final_pass::Bool, no_fail_prerender::Bool, eval_all::Bool, silent::Bool, cleanup::Bool, on_write::Franklin.var"#217#220", log::Bool, host::String, show_warnings::Bool, launch::Bool) at C:\Users\adeil\.julia\packages\Franklin\D9flx\src\manager\franklin.jl:96
[2] serve() at C:\Users\adeil\.julia\packages\Franklin\D9flx\src\manager\franklin.jl:66
[3] top-level scope at REPL[14] :1
How should I proceed to continue modifying the file?
Actually what you have seems fine. On GitHub, in the settings of that repository, under “GitHub-pages” please check that it’s the gh-pages branch that is selected. It should look like this:
Your repo has a branch master (old repos from GitHub) but the deploy script quotes the new repos from GitHub with a branch main. I’ve submitted a PR to your repo.