Dreamweaver pages not updating template
So within my project folder I have an index HTML file which links to my CSS page and other various resources that will be used by ALL future HTML webpages created.
My problem I have a process of duplicating one file that properly links to CSS, images, etc.
To create templates for your webpages, you must already have a site set up using the Manage Site features in Dreamweaver to define a local root folder on your computer.2 CREATE/OPEN A PAGE IN DREAMWEAVER To create a new HTML template in Dreamweaver, choose File New. For the Template Type, select HTML Template, choose a Layout, and click Create.
To save an existing page in Dreamweaver as a template, choose File Save As Template.
to save the time later on of relinking all those resources but when I do duplicate it (I also move the new file into a different folder for personal organization) the URL paths to my resources DO NOT update like they automatically would in Dreamweaver. https://github.com/tunderdomb/rebase or even thishttps://github.com/weilao/grunt-movehtml That doesn't seem to be what I am talking about.
My perfect solution Upon duplicating a file, I would like to move that file anywhere within the confines of my project folder and have all external files linked properly and automatically. Thanks, Bytor sound like a task for a post processor à la grunt, brunch et al. When I duplicated an HTML in my project folder in Dreamweaver, I moved the file to a folder, upon moving the file Dreamweaver prompted me with this (which is EXACTLY what I am seeking for in Atom. A workaround I have done for this issue, although not the most ideal, is to create a template webpage that resides in each folder of my website.
Remember, you don’t want to make everything editable, just the areas you’ll change; for example, the list of navigation links at the top of this template should not be editable regions, because then you’ll be able to update those areas on all of the pages that use this template at a later time by simply updating the template (see Step 9).6 NAME EDITABLE REGION Each time you insert an editable region into your page, you need to name it.
You can name editable regions anything you like, just don’t use spaces or special characters.
Say you want to change the photo and caption on each gallery page, you’d make those sections of the template page editable.
Start by clicking on the edge of a region to select it—choose an HTML tag (div tags work best) that surrounds the contents you want to make editable.5 INSERT AN EDITABLE REGION After you select an area of the page you want to make an editable region, such as a Div tag, choose Insert Editable Region to add the necessary code in Dreamweaver.
Choose Page From Template in the New Document dialog, choose the name of the site you’re working on from the Site list, and select a template for your site.
Use the preview to make sure you select the correct template.
Templates come in many shapes and styles on the Web.