Skip to content

Quick example of how to build a static Webflow site on Fleek with a Python script.

Notifications You must be signed in to change notification settings

FilecoinFoundationWeb/ff-blog

This branch is 2 commits ahead of, 6 commits behind FilecoinFoundationWeb/fil-lisbon:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a14d5a9 · Nov 29, 2022

History

56 Commits
Nov 29, 2022
Mar 16, 2021
Mar 16, 2021
Mar 16, 2021
Mar 16, 2021
Mar 17, 2021
Mar 16, 2021
Nov 29, 2022

Repository files navigation

Space Webflow Homepage

This repo contains an python script that transform a Webflow exported site into a valid Fleek site, using the Space website as an example of a Webflow-exported site!

Requirements:

  • Python 3.8+

How to use:

  • Copy the exported files from webflow inside src directory
  • Run the build file: python build.py
  • A dist folder will be created with the transformed files

Config file:

config.json file contains all the transforms and files that the script is going to work with:

  • project.src_path: the source path.
  • project.build_path: the build path where transformed files are going to be saved.
  • project.root_file_name: name that is going to take a file if you specify the move_to_subfolder: true property into the transforms section for a specific file.
  • links_replacements: common config to replace the target value by replace_by (used for links)
  • file_links_replacement: common config to replace the target value by replace_by (used for file links)
  • transforms: specify the files that should be transformed

About

Quick example of how to build a static Webflow site on Fleek with a Python script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • CSS 11.6%
  • HTML 6.9%
  • Python 0.2%