# \#franklin

**URL:** https://discourse.julialang.org/tag/franklin/534.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Easier way to replace templates in Franklin.jl?](https://discourse.julialang.org/t/easier-way-to-replace-templates-in-franklin-jl/87322)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [September 10, 2026, 4:21pm UTC](https://discourse.julialang.org/t/easier-way-to-replace-templates-in-franklin-jl/87322 "2026-09-10T16:21:07Z")

</div>

I am trynig to test various templates for my website generated by Franklin.jl. Currently I am doing this by newsite("\<top directory\>", template="\<new template name\>"), but this seems to overwrite the top directory, whic…

---

## [Xranklin.jl compatibility with Julia 1.12](https://discourse.julialang.org/t/xranklin-jl-compatibility-with-julia-1-12/133364)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 3\
**Last updated:** [October 22, 2025, 7:38pm UTC](https://discourse.julialang.org/t/xranklin-jl-compatibility-with-julia-1-12/133364 "2025-10-22T19:38:25Z")

</div>

I’ve been using Xranklin.jl, the intended successor to Franklin.jl for building static sites. I know @tlienart has been busy / unable to devote much time to his open source development, but it’s been mostly working fine. …

---

## [Franklin: inserting animations and plots in pages?](https://discourse.julialang.org/t/franklin-inserting-animations-and-plots-in-pages/131545)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 4\
**Last updated:** [August 12, 2025, 8:34pm UTC](https://discourse.julialang.org/t/franklin-inserting-animations-and-plots-in-pages/131545 "2025-08-12T20:34:26Z")

</div>

How do I insert animation mp4s from my Julia code blocks into a webpage on my Franklin.jl-powered website? I have tried doing this by having the codeblock: \`\`\`julia:./code/heatEquation using FFTW, StaticArrays, Plots, I…

---

## [How to include javascript code in HTML blocks with Franklin.jl?](https://discourse.julialang.org/t/how-to-include-javascript-code-in-html-blocks-with-franklin-jl/131316)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 2\
**Last updated:** [August 12, 2025, 8:30am UTC](https://discourse.julialang.org/t/how-to-include-javascript-code-in-html-blocks-with-franklin-jl/131316 "2025-08-12T08:30:54Z")

</div>

Hello, I’m using Franklin to build web pages and sometimes I have to insert some HTML/javascript sections in the page. WIth pure HTML content there are no problems: I just enclose everything around the ~~~. However, when…

---

## [Franklin: utils.jl produces JavaScript scripts locally but not on GitHub Pages](https://discourse.julialang.org/t/franklin-utils-jl-produces-javascript-scripts-locally-but-not-on-github-pages/130836)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 10:53am UTC](https://discourse.julialang.org/t/franklin-utils-jl-produces-javascript-scripts-locally-but-not-on-github-pages/130836 "2025-07-18T10:53:35Z")

</div>

I’ve been trying to modularize my Franklin-powered website’s code by using Julia to build pieces of JavaScript code in the website that are fairly repetitive. To achieve this, I used this Julia code in my utils.jl file: …

---

## [Franklin.jl: when Julia scripting with HTML, how can I get its insertions to work?](https://discourse.julialang.org/t/franklin-jl-when-julia-scripting-with-html-how-can-i-get-its-insertions-to-work/130682)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 2\
**Last updated:** [July 13, 2025, 11:17am UTC](https://discourse.julialang.org/t/franklin-jl-when-julia-scripting-with-html-how-can-i-get-its-insertions-to-work/130682 "2025-07-13T11:17:35Z")

</div>

I have this in my utils.jl file: function resolve\_inserts(html::String)::String insert\_pattern = r"\\{\\{\\s\*insert\\s+(\[a-zA-Z0-9\_./\\-\]+)\\s\*\\}\\}" return replace(html, insert\_pattern =\> s -\> begin filename …

---

## [Franklin.jl: iterating over elements of a vector in HTML](https://discourse.julialang.org/t/franklin-jl-iterating-over-elements-of-a-vector-in-html/130644)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 4\
**Last updated:** [July 12, 2025, 5:41am UTC](https://discourse.julialang.org/t/franklin-jl-iterating-over-elements-of-a-vector-in-html/130644 "2025-07-12T05:41:47Z")

</div>

This is my Franklin.jl-powered website. I have several mathematical simulation pages and while they do differ in some ways, a lot of their code is more or less shared and I am trying to reduce the redundancy between them…

---

## [Franklin.jl project status? Alternatives?](https://discourse.julialang.org/t/franklin-jl-project-status-alternatives/129618)

<div class="topic-metadata">

**Author:** [@PowerUser64](https://discourse.julialang.org/u/PowerUser64)\
**Replies:** 7\
**Last updated:** [June 5, 2025, 10:06am UTC](https://discourse.julialang.org/t/franklin-jl-project-status-alternatives/129618 "2025-06-05T10:06:19Z")

</div>

I was looking around for a static site generator (SSG) to write a blog with, and I noticed that Franklin.jl seems to be unmaintained right now, as the last commit was over a year ago. (Source: Contributors to tlien…

---

## [Getting Franklin.jl to display plots with Literate.jl](https://discourse.julialang.org/t/getting-franklin-jl-to-display-plots-with-literate-jl/62025)

<div class="topic-metadata">

**Author:** [@mattgiamou](https://discourse.julialang.org/u/mattgiamou)\
**Replies:** 4\
**Last updated:** [March 10, 2025, 5:06pm UTC](https://discourse.julialang.org/t/getting-franklin-jl-to-display-plots-with-literate-jl/62025 "2025-03-10T17:06:55Z")

</div>

I’m following these instructions on getting Franklin.jl to deploy Julia notebooks with Literate.jl with GitHub pages. I’m using the following minimal example from the Literate.jl documentation: # Testing plot display: x…

---

## [Franklin.jl for engineering content](https://discourse.julialang.org/t/franklin-jl-for-engineering-content/126263)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [February 26, 2025, 4:30am UTC](https://discourse.julialang.org/t/franklin-jl-for-engineering-content/126263 "2025-02-26T04:30:41Z")

</div>

I am coming to my limits while trying to port this Quarto document to Franklin.jl. I have little knowledge of HTML and CSS. From reading the documentations and the GitHub issues, I did not find a way to generate a figur…

---

## [Franklin.jl list of pages](https://discourse.julialang.org/t/franklin-jl-list-of-pages/74758)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [August 9, 2024, 7:07pm UTC](https://discourse.julialang.org/t/franklin-jl-list-of-pages/74758 "2024-08-09T19:07:36Z")

</div>

I am experimenting with Franklin.jl, with the intention of migrating my blog from Hugo. Suppose I have a bunch of blog posts in a folder structure like pages/blog.md pages/posts/on-why-julia-is-awesome/index.md ... an…

---

## [Send email with Franklin.jl?](https://discourse.julialang.org/t/send-email-with-franklin-jl/117041)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 14, 2024, 9:40pm UTC](https://discourse.julialang.org/t/send-email-with-franklin-jl/117041 "2024-07-14T21:40:44Z")

</div>

Would it be possible to add a “Send email” button to a website created with Franklin.jl ? a. if deployed on Github b. if deployed on a web/email server? And if yes, how?

---

## [Resizing an image with Franklin](https://discourse.julialang.org/t/resizing-an-image-with-franklin/117036)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 14, 2024, 4:46pm UTC](https://discourse.julialang.org/t/resizing-an-image-with-franklin/117036 "2024-07-14T16:46:38Z")

</div>

Is there a way to resize an image in Franklin.jl ? This is too small: Code: # The floods in Kenya in April 2024 \\fig{flood.jpeg} This image has 639x396 pixel, the original image was much bigger, so somewhere it m…

---

## [Franklin.jl and Github](https://discourse.julialang.org/t/franklin-jl-and-github/117008)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 20\
**Last updated:** [July 14, 2024, 10:48am UTC](https://discourse.julialang.org/t/franklin-jl-and-github/117008 "2024-07-14T10:48:34Z")

</div>

I installed Franklin.jl and created a website, which is in a subfolder. I know I can deploy the generated website to Github. But does this deploy just the generated code, or also the source code?

---

## [Franklin: how to setup the Deploy.yml file?](https://discourse.julialang.org/t/franklin-how-to-setup-the-deploy-yml-file/115382)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 0\
**Last updated:** [June 9, 2024, 7:53am UTC](https://discourse.julialang.org/t/franklin-how-to-setup-the-deploy-yml-file/115382 "2024-06-09T07:53:12Z")

</div>

I’m writing since I’m getting complications in deploying my website (hosted with github pages) with Franklin. I’m in the classical situation where locally using serve() all works fine, but not when going online, where t…

---

## [Franklin.jl — automatically evaluate \`.jl\` file on change](https://discourse.julialang.org/t/franklin-jl-automatically-evaluate-jl-file-on-change/92580)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 8\
**Last updated:** [April 13, 2024, 7:39pm UTC](https://discourse.julialang.org/t/franklin-jl-automatically-evaluate-jl-file-on-change/92580 "2024-04-13T19:39:08Z")

</div>

I understand that Franklin’s offline evaluation is meant to manually and outside of the live-evaluation workflow. Is there a way, however, to make Franklin watch for changes in a directory, and execute generate\_results.j…

---

## [Franklin websites fail to being parsed by openring](https://discourse.julialang.org/t/franklin-websites-fail-to-being-parsed-by-openring/111610)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 0\
**Last updated:** [March 14, 2024, 9:32am UTC](https://discourse.julialang.org/t/franklin-websites-fail-to-being-parsed-by-openring/111610 "2024-03-14T09:32:39Z")

</div>

openring is a nice tool to create webring, I added it to my Franklin website at the end of each post. However, I noticed that Franklin websites are not able to being parsed by this tool, while the ones built with Hugo, J…

---

## [How to extract number of words (for time reading a post) in franklin.jl](https://discourse.julialang.org/t/how-to-extract-number-of-words-for-time-reading-a-post-in-franklin-jl/111502)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 6:11am UTC](https://discourse.julialang.org/t/how-to-extract-number-of-words-for-time-reading-a-post-in-franklin-jl/111502 "2024-03-12T06:11:02Z")

</div>

I’m looking to improve my blog a bit with Franklin, and one thing I want to add to make it more user-friendly is something like the number of words and the approximate reading time (this as a simple calculation of propor…

---

## [Using Hugo template in Franklin](https://discourse.julialang.org/t/using-hugo-template-in-franklin/109756)

<div class="topic-metadata">

**Author:** [@marcoherrera-s](https://discourse.julialang.org/u/marcoherrera-s)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 5:37pm UTC](https://discourse.julialang.org/t/using-hugo-template-in-franklin/109756 "2024-02-05T17:37:27Z")

</div>

Hi!, as the title says, I would like to use a Hugo template (hello-friend-ng | Hugo Themes) in Franklin. I didn’t think I could , but I’ve seen websites made with Franklin that use a Hugo template. I tried to find inform…

---

## [Franklin.jl - how to link to a local PDF file?](https://discourse.julialang.org/t/franklin-jl-how-to-link-to-a-local-pdf-file/107860)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [December 20, 2023, 2:46pm UTC](https://discourse.julialang.org/t/franklin-jl-how-to-link-to-a-local-pdf-file/107860 "2023-12-20T14:46:18Z")

</div>

How can I add a PDF file as a downloadable link, in a webpage generated by Franklin.jl? I can store the PDF file in e.g. \_assets/.

---

## [Website generated by Franklin (and hosted on GitHub) is not rendering properly](https://discourse.julialang.org/t/website-generated-by-franklin-and-hosted-on-github-is-not-rendering-properly/105827)

<div class="topic-metadata">

**Author:** [@eduardo-zambrano](https://discourse.julialang.org/u/eduardo-zambrano)\
**Replies:** 10\
**Last updated:** [November 6, 2023, 7:49pm UTC](https://discourse.julialang.org/t/website-generated-by-franklin-and-hosted-on-github-is-not-rendering-properly/105827 "2023-11-06T19:49:39Z")

</div>

Hi everyone, I have a website made with Franklin that looks good locally. Unfortunately, the one that is deployed through gh-pages on GitHub is missing most of the formatting, plus the links to the other parts of the we…

---

## [Why would Franklin fail because "\`@sprintf\` not defined"?](https://discourse.julialang.org/t/why-would-franklin-fail-because-sprintf-not-defined/104912)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 3\
**Last updated:** [October 23, 2023, 7:30am UTC](https://discourse.julialang.org/t/why-would-franklin-fail-because-sprintf-not-defined/104912 "2023-10-23T07:30:47Z")

</div>

This is while building GMT docs, but both GMT and the GMT docs repo have Printf as a dependency. And locally the build works fine. This error in particular raised when running this case but there are several other ex…

---

## [Google search console verification in Franklin.jl generated site](https://discourse.julialang.org/t/google-search-console-verification-in-franklin-jl-generated-site/72760)

<div class="topic-metadata">

**Author:** [@JaydevSR](https://discourse.julialang.org/u/JaydevSR)\
**Replies:** 3\
**Last updated:** [August 14, 2023, 11:20pm UTC](https://discourse.julialang.org/t/google-search-console-verification-in-franklin-jl-generated-site/72760 "2023-08-14T23:20:08Z")

</div>

I have been trying to verify my personal website made using Franklin.jl on the google search console platform but for some reason both of the two feasible methods don’t work: Meta tag in the head part of the site is no…

---

## [Franklin.jl Dynamically Loading and Suppressing Pages](https://discourse.julialang.org/t/franklin-jl-dynamically-loading-and-suppressing-pages/102530)

<div class="topic-metadata">

**Author:** [@Ian\_L](https://discourse.julialang.org/u/Ian_L)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 7:39am UTC](https://discourse.julialang.org/t/franklin-jl-dynamically-loading-and-suppressing-pages/102530 "2023-08-11T07:39:24Z")

</div>

There are two separate but slightly related problems. First, I have a directory called posts containing markdown files to be displayed. I would like to keep some of these markdown files in the folder, but suppress them d…

---

## [Error when attempting to load Franklin pkg](https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511)

<div class="topic-metadata">

**Author:** [@tomc](https://discourse.julialang.org/u/tomc)\
**Replies:** 5\
**Last updated:** [July 13, 2023, 12:51pm UTC](https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511 "2023-07-13T12:51:11Z")

</div>

Environment: OS: Pop!\_OS 22.04 LTS / Processor: 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz × 8 / 16 GB RAM / 500 GB SSD / Firefox 115 I’m almost a total newbie to Julia, but am amateur programmer/website builder with sev…

---

## [Franklin.jl -- How to Extract Properties of Specific Posts/Pages](https://discourse.julialang.org/t/franklin-jl-how-to-extract-properties-of-specific-posts-pages/101338)

<div class="topic-metadata">

**Author:** [@Steve\_Shupe](https://discourse.julialang.org/u/Steve_Shupe)\
**Replies:** 6\
**Last updated:** [July 9, 2023, 1:09pm UTC](https://discourse.julialang.org/t/franklin-jl-how-to-extract-properties-of-specific-posts-pages/101338 "2023-07-09T13:09:35Z")

</div>

I’ve started using the Franklin package. I generally understand how it works, but am struggling with how to extract specific information about a post or page when writing an “hfun\_” function for utils.jl. For example, if…

---

## [Viewing final Franklin website from \_\_site folder](https://discourse.julialang.org/t/viewing-final-franklin-website-from-site-folder/78345)

<div class="topic-metadata">

**Author:** [@jman87](https://discourse.julialang.org/u/jman87)\
**Replies:** 7\
**Last updated:** [April 17, 2023, 1:20pm UTC](https://discourse.julialang.org/t/viewing-final-franklin-website-from-site-folder/78345 "2023-04-17T13:20:51Z")

</div>

Noobie website development question. :blush: I’m experimenting with Franklin and when I do the following commands: julia\> using Franklin julia\> newsite("sandbox\_02", template="sandbox") julia\> serve() I see the follow…

---

## [Franklin website background error on deployment](https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 1\
**Last updated:** [January 27, 2023, 2:06pm UTC](https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629 "2023-01-27T14:06:48Z")

</div>

Franklin website background image is visible in live server but not on gh-pages. How to make background image visible on gh-pages also ? :unamused: LIVE SERVER look GH pages look below The content of Franklin.…

---

## [Franklin.jl file tree in navigation bar](https://discourse.julialang.org/t/franklin-jl-file-tree-in-navigation-bar/92996)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 1\
**Last updated:** [January 15, 2023, 6:37pm UTC](https://discourse.julialang.org/t/franklin-jl-file-tree-in-navigation-bar/92996 "2023-01-15T18:37:13Z")

</div>

Hello everyone, I am trying to build a website with Franklin.jl. One of the elements I would like to have on the website is a wiki, with all of the posts being markdown files in a certain file structure, e.g. wiki/wik…

---

## [How to add Visitor Counter in a website made by Franklin.jl package?](https://discourse.julialang.org/t/how-to-add-visitor-counter-in-a-website-made-by-franklin-jl-package/92746)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 1\
**Last updated:** [January 10, 2023, 8:05am UTC](https://discourse.julialang.org/t/how-to-add-visitor-counter-in-a-website-made-by-franklin-jl-package/92746 "2023-01-10T08:05:56Z")

</div>

How to add Visitor Counter in Franklin.jl Website in footer ? What codes should be added ?

[Next page](https://discourse.julialang.org/tag/franklin/534.md?match_all_tags=true&page=1&tags%5B%5D=franklin)
