# Question about Franklin.jl

**URL:** <https://discourse.julialang.org/t/question-about-franklin-jl/50224>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 16, 2020, 12:39pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224 "2020-11-16T12:39:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 16, 2020, 12:39pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/1 "2020-11-16T12:39:04Z")

</div>

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
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?

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [November 16, 2020, 1:04pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/2 "2020-11-16T13:04:32Z")

</div>

Hello,

You seem to not be running this from the right place.

Say you have a folder `myWebsite` on your computer then you have to

```julia
julia> cd("path/to/myWebsite")
julia> serve()

```

you can check what your current working directory is with

```julia
julia> pwd()

```

the error is telling you that the current working directory does not seem to be a Franklin directory.

Ps: ~~there’s a typo in the error message… I’ll fix this.~~ fixed on master

---

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 17, 2020, 11:22am UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/3 "2020-11-17T11:22:43Z")

</div>

Hi,  
Can you see my repository and help me set the prepath?  
[https://github.com/adeil83/adeil83.github.io](https://github.com/adeil83/adeil83.github.io)

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [November 17, 2020, 11:32am UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/4 "2020-11-17T11:32:53Z")

</div>

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:

 ![Screenshot 2020-11-17 at 12.32.12](https://global.discourse-cdn.com/julialang/original/3X/3/d/3d249887366dd6597445d3f5297e421632f2aba4.png)

I suspect that at the moment it’s set to “main”.

(in your repository you can check that the `gh-pages` branch is correct: it has the right `index.html` with the right paths, so all that is fine)

---

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 17, 2020, 11:40am UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/5 "2020-11-17T11:40:03Z")

</div>

Thank you very much for the quick and polite response. I modified Branch, but nothing happened. You’re still wrong.

 ![2020-11-17 (2)](https://global.discourse-cdn.com/julialang/original/3X/e/b/eb83fc935c9ed46e63419bb1d7bf6f5242d62edb.png)

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [November 17, 2020, 11:40am UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/6 "2020-11-17T11:40:38Z")

</div>

it takes a minute to propagate, your page is now online.

---

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 17, 2020, 11:44am UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/7 "2020-11-17T11:44:48Z")

</div>

Thank you so much for your help. It worked really well!

---

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 21, 2020, 7:27pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/8 "2020-11-21T19:27:45Z")

</div>

@tlienart, what to do when the gh-pages option does not appear?

 ![2020-11-21 (3)](https://global.discourse-cdn.com/julialang/original/3X/3/d/3d231531b8ceba7a7db7ee1e3f301025a48308c3.png)

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [November 21, 2020, 7:39pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/9 "2020-11-21T19:39:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [November 21, 2020, 7:45pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/10 "2020-11-21T19:45:06Z")

</div>

Happy Birthday @tlienart! 🥳

---

<div class="post-metadata">

**Author:** ![adeil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adeil/32/16564_2.png) [@adeil](https://discourse.julialang.org/u/adeil)\
**Post date:** [November 21, 2020, 8:12pm UTC](https://discourse.julialang.org/t/question-about-franklin-jl/50224/11 "2020-11-21T20:12:43Z")

</div>

Many happy returns of the day! Happy birthday, @tlienart!
