# Incomplete page rendering

**URL:** https://discourse.julialang.org/t/incomplete-page-rendering/79027
**Category:** General Usage
**Tags:** franklin
**Created:** [April 5, 2022, 2:26am UTC](https://discourse.julialang.org/t/incomplete-page-rendering/79027 "2022-04-05T02:26:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![paradoxical-rhapsody](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paradoxical-rhapsody/32/33021_2.png) [@paradoxical-rhapsody](https://discourse.julialang.org/u/paradoxical-rhapsody)
#### Post date: [April 5, 2022, 2:26am UTC](https://discourse.julialang.org/t/incomplete-page-rendering/79027/1 "2022-04-05T02:26:53Z")

</div>

Benifiting from the convenint pkg [Franklin](https://franklinjl.org/), I created a personal site to collect daily notes. In the site, a `mysite/notes/index.md` is used to list the note items. The full content of `mysite/notes/index.md` is presented as follows, wherein `show_md_list` is defined as `hfun_show_md_list` function in `utils.jl`.

```julia
+++
title = "notes"
hascode = true
basedir = "notes"
+++

# Notes

{{ show_md_list }}

```

When starting the site by `serve(clear=true)`, the page is rendered as following, where some items are lost and the time stamp at the bottom is also iffy. However, when I make some change in this md file and resave it, the page will be updated and rendered normally.  
After publishing the site on github, this page is also showed incompletely.

 ![图片](https://global.discourse-cdn.com/julialang/original/3X/d/1/d1b66d77041a4bde78f5c0e5a431ef2972b230ea.png)

Did I get someing wrong? Could you kindly give me some idea? @tlienart

---

<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: [April 7, 2022, 7:25am UTC](https://discourse.julialang.org/t/incomplete-page-rendering/79027/2 "2022-04-07T07:25:56Z")

</div>

hello, it would help if you could post a link to your repo but here the symptoms look like they would be fixed with adding `@delay` in front of the definition of `hfun_show_md_list` so

```julia
@delay function hfun_show_md_list(...)
  ...
end

```

this will tell Franklin to re-build the pages calling that function after all pages have been built (it’s necessary otherwise not all page variables are available to Franklin).

This business of `@delay` will be removed in the next version but in the meantime is necessary for such hfun. Hope this helps!
