The invention relates to the technical field of webpage configuration, and discloses a method, a device, equipment and a medium for static webpage generation, the method comprises the following steps: constructing a reusable unit, the reusable unit comprising reusable unit identification information and configuration information, and the configuration information comprising
data input configuration and style configuration; splicing the plurality of reusable units based on a preset sequence, and constructing a static webpage template; and loading the target configuration information on the basis of the sequence of the reusable units represented by the target static webpage template, generating a
hypertext markup language file, and presenting static webpage contents to a user on the basis of the
hypertext markup language file. According to the method, non-technical personnel can construct the static webpage template by splicing the reusable units, so that the development threshold of the static webpage is reduced, the non-technical personnel can maintain the static webpage, the problems of high maintenance cost and poor
reusability of the static webpage in the related technology are solved, and the service life of the static webpage is prolonged. The method is suitable for high-frequency updating scenes such as enterprise official websites or marketing activity pages.