diff --git a/config.toml b/config.toml index b0d99b6..9453216 100644 --- a/config.toml +++ b/config.toml @@ -13,10 +13,11 @@ theme = "desem-swift-theme" [params] logo = "/images/desemdoos.png" +fbtoken = "EAAn5J1FBPssBAEklcMbCU4PrCZB3aMyLuD3XqYGTaif8gKbx24PH5ZA6WrsQwiSGJzLIuVdHn4s2EymVDXTdrWaKLJqkDACiY5SLreXbeLuXTKirw7bncJM68dKTV7Y7Sp9rroU9IGqSUsJrhIzFvjlZAKBCQwUesut1p03oLPxkVTpNSg2" # For search functionnality [outputs] -home = [ "HTML", "RSS", "JSON"] +home = [ "HTML", "RSS" ] # https://gohugo.io/getting-started/configuration-markup (ofwel de oude unsafe togglen?) - is nodig, Wordpress export bevat veel HTML! [markup] diff --git a/content/boek/src/todo-reclame.md b/content/boek/src/todo-reclame.md index 3ee7148..1178988 100644 --- a/content/boek/src/todo-reclame.md +++ b/content/boek/src/todo-reclame.md @@ -8,6 +8,13 @@ https://www.goodreads.com/book/show/53267590-red-zuurdesem doorgeven? [ ] Leo Babauta: un-copyright te bekijken +### Site rework todo's + +[X] Facebook posts auto-grab IDs op een of andere manier? https://developers.facebook.com/docs/graph-api/reference/v7.0/page/feed reeds included +[ ] fucking token die maar 2 maand houdbaar is - in kalender zetten? met api calls auto-refreshen op een of andere manier +[ ] search functionaliteit. zie config.toml, JSON output +[ ] Korte policy pagina? Koekske banner? (cookies weg indien niet ingelogd) + ### Via-via persoonlijk [X] Ann Lummen diff --git a/layouts/index.html b/layouts/index.html index c0dd462..a7b4d14 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -88,7 +88,7 @@ } try { - FB.api("/redzuurdesem/feed?limit=6&access_token=EAAn5J1FBPssBAEklcMbCU4PrCZB3aMyLuD3XqYGTaif8gKbx24PH5ZA6WrsQwiSGJzLIuVdHn4s2EymVDXTdrWaKLJqkDACiY5SLreXbeLuXTKirw7bncJM68dKTV7Y7Sp9rroU9IGqSUsJrhIzFvjlZAKBCQwUesut1p03oLPxkVTpNSg2", parseFeed); + FB.api("/redzuurdesem/feed?limit=4&access_token={{ .Site.Params.fbtoken }}", parseFeed); } catch(e) { whoops(e); }