diff --git a/config.toml b/config.toml index e6cf960..eb81b9a 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,6 @@ baseURL = '/' languageCode = 'en-us' -title = 'Community Dispute Protocol' +title = 'CommunityDispute' theme = 'dispute-protocol-theme' # Enable relative URLs for easier deployment in different environments diff --git a/content/_index.md b/content/_index.md index efd25d4..82b2f59 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,8 +1,6 @@ --- -title: "Community Dispute Protocol Builder" +title: "Dispute Protocol Builder" date: 2023-07-10 draft: false --- -Welcome to the Community Dispute Protocol Builder. This tool helps communities create structured processes for resolving conflicts and disputes. - diff --git a/static/js/builder.js b/static/js/builder.js index 3822712..3f58c3d 100644 --- a/static/js/builder.js +++ b/static/js/builder.js @@ -596,7 +596,7 @@ document.addEventListener('DOMContentLoaded', function() { try { // Use community name if available, otherwise default const communityName = protocol.metadata.communityName || "Community"; - let markdown = `# ${communityName}\n# Dispute Protocol\n\n`; + let markdown = `# ${communityName}\n# CommunityDispute\n\n`; // Include protocol summary if available if (protocol.metadata.summary) { @@ -664,7 +664,7 @@ document.addEventListener('DOMContentLoaded', function() { }); // Create and download the file - downloadFile('community_dispute_protocol.md', markdown); + downloadFile('communityDispute.md', markdown); } catch (error) { console.error('Error generating Markdown:', error); alert('Failed to generate Markdown. Please try again.'); @@ -704,7 +704,7 @@ document.addEventListener('DOMContentLoaded', function() { // Add title with line break doc.setFontSize(18); - doc.text(`${communityName}\nDispute Protocol`, 105, yPos, { align: 'center' }); + doc.text(`${communityName}\nCommunityDispute`, 105, yPos, { align: 'center' }); yPos += 25; // Page width indicator removed @@ -814,7 +814,7 @@ document.addEventListener('DOMContentLoaded', function() { }); // Save the PDF - doc.save('community_dispute_protocol.pdf'); + doc.save('communityDispute.pdf'); } catch (error) { console.error('Error generating PDF:', error); alert('Failed to generate PDF. Please try again or use another export format.'); @@ -827,7 +827,7 @@ document.addEventListener('DOMContentLoaded', function() { updateProtocolData(); const jsonData = JSON.stringify(protocol, null, 2); - downloadFile('community_dispute_protocol.json', jsonData); + downloadFile('communityDispute.json', jsonData); }); // Import from JSON diff --git a/themes/dispute-protocol-theme/layouts/index.html b/themes/dispute-protocol-theme/layouts/index.html index 74857df..d36144a 100644 --- a/themes/dispute-protocol-theme/layouts/index.html +++ b/themes/dispute-protocol-theme/layouts/index.html @@ -10,17 +10,5 @@
{{ .description }}
-