1<!DOCTYPE html> 2<html lang="en-us"> 3 4<head> 5 <!-- Canonical link to help search engines --> 6 <link rel="canonical" href="/" /> 7 8 <!-- Basic meta elements --> 9 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 10 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 11 12 <!-- Enable responsiveness on mobile devices --> 13 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" /> 14 15 <!-- Dublin Core metadata for Zotero --> 16 <meta name="DC.title" content="Debates on Work" /> 17 <meta name="DC.creator" content="Jean-Philippe Deranty" /> 18 <meta name="DC.creator" content="Yves Saint James Aquino" /> 19 <meta name="DC.creator" content="Brian Ballsun-Stanton" /> 20 <meta name="dcterms:issued" content="2026" /> 21 <meta name="DC.rights" content="CC-BY-SA" /> 22 23 <!-- Highwire Press metadata for Google Scholar / Zotero --> 24 25 <!-- Open Graph metadata --> 26 27 <meta property="og:title" content="Debates on Work" /> 28 <meta property="og:description" content="Scholarly work On Work."> 29 <meta property="og:type" content="website" /> 30 <meta property="og:url" content="https://onwork.edu.au/" /> 31 <meta property="og:site_name" content="For Work / Against Work" /> 32 <meta property="twitter:card" content="summary"/> 33 <meta property="twitter:creator" content="onwork9"/> 34 <meta property="twitter:site" content="https://onwork.edu.au"/> 35 <meta property="og:image" content="https://onwork.edu.au/assets/work.png" /> 36 37 <title> 38 Debates on Work 39 </title> 40 41 <!-- CSS link --> 42 <link rel="stylesheet" href="/assets/css/style.css" /> 43 44 <!-- Pagefind search CSS --> 45 <link rel="stylesheet" href="/pagefind/pagefind-ui.css" /> 46 47 <!-- Pagefind initial load indicator - shows until search UI is ready --> 48 <style> 49 /* Show "Loading search..." until Pagefind renders its input */ 50 .pagefind-ui:not(:has(.pagefind-ui__search-input))::before { 51 content: "Loading search..."; 52 display: block; 53 padding: 1em; 54 color: #666; 55 font-style: italic; 56 } 57 </style> 58 59 <!-- Icons --> 60 <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicon/apple-icon-57x57.png"> 61 <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicon/apple-icon-60x60.png"> 62 <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicon/apple-icon-72x72.png"> 63 <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicon/apple-icon-76x76.png"> 64 <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicon/apple-icon-114x114.png"> 65 <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicon/apple-icon-120x120.png"> 66 <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicon/apple-icon-144x144.png"> 67 <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicon/apple-icon-152x152.png"> 68 <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-icon-180x180.png"> 69 <link rel="icon" type="image/png" sizes="192x192" href="/assets/favicon/android-icon-192x192.png"> 70 <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png"> 71 <link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon/favicon-96x96.png"> 72 <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png"> 73 <link rel="manifest" href="/assets/favicon/manifest.json"> 74 <meta name="msapplication-TileColor" content="#ffffff"> 75 <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> 76 <meta name="theme-color" content="#ffffff"> 77 78 <!-- RSS feeds --> 79 <link rel="alternate" type="application/rss+xml" title="Recent Updates" href="https://onwork.edu.au/feed.xml" /> 80 <link rel="alternate" type="application/rss+xml" title="Newsletter (Substack)" href="https://onwork.substack.com/feed/" /> 81 82 <!-- Google Fonts - PT Sans & PT Serif --> 83 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i|PT+Serif:400,400i&subset=latin-ext&display=swap"> 84 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans|PT+Serif:400&text=%E2%86%92|%E2%86%B3&display=swap"> 85 86 <!-- Font Awesome 6.7.2 - Icon library for share buttons and UI elements --> 87 <link rel="stylesheet" 88 href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" 89 integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" 90 crossorigin="anonymous" 91 referrerpolicy="no-referrer" /> 92 93</head> 94 95 <body class="theme-base-red"> 96 97 98<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox"> 99 100<div class="sidebar" id="sidebar"> 101 <div class="sidebar-item"> 102 <p>Scholarly work On Work.</p> 103 </div> 104 105 <nav class="sidebar-nav"> 106 <a class="sidebar-nav-item" href="https://onwork.substack.com/subscribe?utm_source=onworktoc&simple=true&next=https%3A%2F%2Fonwork.substack.com%2F">Subscribe to newsletter</a> 107 <a class="sidebar-nav-item" href="/feed.xml"><i class="fa-solid fa-rss" aria-hidden="true"></i>
107 Latest changes</a> 108 109 <a class="sidebar-nav-item" href="/authors/A/">References by Author</a> 110 <a class="sidebar-nav-item" href="/keywords/A/">References by Keyword</a> 111 <a class="sidebar-nav-item" href="/references+by+theme/">References by Theme</a> 112 113 <a class="sidebar-nav-item" href="/">Home</a> 114 115 <a class="sidebar-nav-item" href="/about/">About</a> 116 <a class="sidebar-nav-item" href="/contribute/">Contributing</a> 117 <a class="sidebar-nav-item" href="/credits/">Credits</a> 118 </nav> 119 120 <div class="sidebar-item"> 121 <p>Preferred citation format: 122 <select id="citation-styles" onchange="renderCitation()"> 123 <option value="apa">APA</option> 124 <option value="chicago-author-date">Chicago (author-date)</option> 125 <option selected="selected" value="modern-language-association">MLA</option> 126 <option value="bibtex">BibTeX</option> 127 </select> 128 </p> 129 </div> 130 131</div> 132 133 <div class="wrap"> 134<div class="masthead"> 135 <div class="container"> 136 <h3 class="masthead-title"> 137 <a href="/" title="Home">For Work / Against Work</a> 138 <br><small>Debates on the centrality of work</small> 139 <a href="/search/" style="float:right;font-size:1.5rem;margin-top:-2rem;" title="Advanced Search"> 140 <i class="fas fa-search" aria-hidden="true"></i> 141 </a> 142 </h3> 143 </div> 144</div> 145 146<div class="container" id="search-container" style="display:none;"> 147 <div id="search"></div> 148</div> 149 150<div class="clearfix"> 151</div> 152 153 <div class="container content" id="main"> 154<div class="introduction"> 155 156<h1>Debates on Work</h1> 157 158<p>This online repository documents the debates "for and against" the centrality of work, the idea that work is at the centre of personal life and social organisation. Scholars interested in contributing should <a href="https://researchers.mq.edu.au/en/persons/jean-philippe-deranty/publications/"> contact the lead investigator</a>.</p> 159 160<p>The repository was initially funded by an Australian Research Council Discovery Project, "The Case for Work" (DP190103116). It is now supported by the Macquarie Ethics and Agency Research Centre.</p> 161 162 <h2>View references by: 163 <a href="/references+by+theme/">Theme</a>, <a href="/authors/A/">Author</a>, or <a href="/keywords/A/">Keyword</a>.</h2> 164 <p><a href="https://onwork.substack.com/?no_cover=true">Read more about the latest updates</a>, or <a href="https://onwork.substack.com/subscribe?utm_source=onworkindex&simple=true&next=https%3A%2F%2Fonwork.substack.com%2F">subscribe to the newsletter.</a></p> 165 166</div> 167<hr> 168<h2 id="themes"><a href="/references+by+theme/">General Themes</a></h2> 169<div class="multicol"> 170<div> 171<ul> 172<li><a href="/themes/0-AI+and+Work/">AI and Work</a></li> 173<li><a href="/themes/0-Anarchism/">Anarchism</a></li> 174<li><a href="/themes/0-Animals/">Animals</a></li> 175<li><a href="/themes/0-Anthropology+of+Work/">Anthropology of Work</a></li> 176<li><a href="/themes/0-Archeology+of+Work/">Archeology of Work</a></li> 177<li><a href="/themes/0-Art+and+Work/">Art and Work</a></li> 178<li><a href="/themes/0-Art+and+Work/">Art and Work</a></li> 179<li><a href="/themes/0-Automation/">Automation</a></li> 180<li><a href="/themes/0-Autonomism/">Autonomism</a></li> 181<li><a href="/themes/0-Calling/">Calling</a></li> 182<li><a href="/themes/0-Capitalism/">Capitalism</a></li> 183<li><a href="/themes/0-Care+Work/">Care Work</a></li> 184<li><a href="/themes/0-Centrality+of+Work/">Centrality of Work</a></li> 185<li><a href="/themes/0-Communism/">Communism</a></li> 186<li><a href="/themes/0-Concepts+of+Work/">Concepts of Work</a></li> 187<li><a href="/themes/0-Cooperation/">Cooperation</a></li> 188<li><a href="/themes/0-Craftsmanship/">Craftsmanship</a></li> 189<li><a href="/themes/0-Creative+Work/">Creative Work</a></li> 190<li><a href="/themes/0-Critical+Theory+of+Work/">Critical Theory of Work</a></li> 191<li><a href="/themes/0-Cultures+of+Work/">Cultures of Work</a></li> 192<li><a href="/themes/0-Decent+Work/">Decent Work</a></li> 193<li><a href="/themes/0--Digital+Labour/">Digital Labour</a></li> 194<li><a href="/themes/0-Digital+Work/">Digital Work</a></li> 195<li><a href="/themes/0-Dirty+Work/">Dirty Work</a></li> 196<li><a href="/themes/0-Division+of+Labour/">
196Division of Labour</a></li> 197<li><a href="/themes/0-Duty+to+Work/">Duty to Work</a></li> 198<li><a href="/themes/0-Ecology/">Ecology</a></li> 199<li><a href="/themes/0-Economics/">Economics</a></li> 200<li><a href="/themes/0-Education/">Education</a></li> 201<li><a href="/themes/0-Employment/">Employment</a></li> 202<li><a href="/themes/0-End+of+Work/">End of Work</a></li> 203<li><a href="/themes/0-Ergonomics/">Ergonomics</a></li> 204<li><a href="/themes/0-Ethical+Centrality+of+Work/">Ethical Centrality of Work</a></li> 205<li><a href="/themes/0-Feminism/">Feminism</a></li> 206<li><a href="/themes/0-Four-Day+Week/">Four-Day Week</a></li> 207<li><a href="/themes/0-Future+of+Work/">Future of Work</a></li> 208<li><a href="/themes/0-Goods+of+Work/">Goods of Work</a></li> 209<li><a href="/themes/0-Health+and+Work/">Health and Work</a></li> 210<li><a href="/themes/0-History+of+Work/">History of Work</a></li> 211<li><a href="/themes/0-Home+and+Work/">Home and Work</a></li> 212<li><a href="/themes/0-Idleness/">Idleness</a></li> 213<li><a href="/themes/0-Immaterial+Work/">Immaterial Work</a></li> 214<li><a href="/themes/0-Industrial+Relations/">Industrial Relations</a></li> 215<li><a href="/themes/0-Intellectual+vs+Manual+Work/">Intellectual vs Manual Work</a></li> 216<li><a href="/themes/0-International+Labour+Office/">International Labour Office</a></li> 217<li><a href="/themes/0-Job+Design/">Job Design</a></li> 218<li><a href="/themes/0-Knowledge+and+Work/">Knowledge and Work</a></li> 219<li><a href="/themes/0-Labour+Process/">Labour Process</a></li> 220<li><a href="/themes/0-Law+and+Work/">Law and Work</a></li> 221<li><a href="/themes/0-Laziness/">Laziness</a></li> 222<li><a href="/themes/0-Leisure/">Leisure</a></li> 223<li><a href="/themes/0-Liberalism/">Liberalism</a></li> 224<li><a href="/themes/0-Living+Labour/">Living Labour</a></li> 225<li><a href="/themes/0--Marx/">Marx</a></li> 226<li><a href="/themes/0-Meaningful+Work/">Meaningful Work</a></li> 227<li><a href="/themes/0-Neoliberalism/">Neoliberalism</a></li> 228<li><a href="/themes/0-Non-Western+Societies/">Non-Western Societies</a></li> 229<li><a href="/themes/0-Occupational+Identity/">Occupational Identity</a></li> 230<li><a href="/themes/0-Organisation+and+Management+Studies/">Organisation and Management Studies</a></li> 231<li><a href="/themes/0-Pandemics+and+Work/">Pandemics and Work</a></li> 232<li><a href="/themes/0-Pathologies+of+Work/">Pathologies of Work</a></li> 233<li><a href="/themes/0-Performance/">Performance</a></li> 234<li><a href="/themes/0-Phenomenology+of+Work/">Phenomenology of Work</a></li> 235<li><a href="/themes/0-Philosophers+on+Work/">Philosophers on Work</a></li> 236<li><a href="/themes/0-Platforms/">Platforms</a></li> 237<li><a href="/themes/0-Play/">Play</a></li> 238<li><a href="/themes/0-Political+Theory/">Political Theory</a></li> 239<li><a href="/themes/0-Post-Industrial+Society/">Post-Industrial Society</a></li> 240<li><a href="/themes/0-Post-Work+Society/">Post-Work Society</a></li> 241<li><a href="/themes/0-Pragmatism/">Pragmatism</a></li> 242<li><a href="/themes/0-Praxis+and+Poesis/">Praxis and Poesis</a></li> 243<li><a href="/themes/0-Precarious+Work/">Precarious Work</a></li> 244<li><a href="/themes/0-Professions/">Professions</a></li> 245<li><a href="/themes/0-Psychology+of+Work/">Psychology of Work</a></li> 246<li><a href="/themes/0-Race/">Race</a></li> 247<li><a href="/themes/0-Religious+Views+on+Work/">Religious Views on Work</a></li> 248<li><a href="/themes/0-Republicanism/">Republicanism</a></li> 249<li><a href="/themes/0-Resistance+to+at+Work/">Resistance to/at Work</a></li> 250<li><a href="/themes/0-Right+to+Work/">Right to Work</a></li> 251<li><a href="/themes/0-Sex+Work/">Sex Work</a></li> 252<li><a href="/themes/0-Skills/">Skills</a></li> 253<li><a href="/themes/0-Slavery/">Slavery</a></li> 254<li><a href="/themes/0-Social+Centrality+of+Work/">Social Centrality of Work</a></li> 255<li><a href="/themes/0-Social+Work/">Social Work</a></li> 256<li><a href="/themes/0-Socialism/">Socialism</a></li> 257<li><a href="/themes/0-Sociology+of+Work/">Sociology of Work</a></li> 258<li><a href="/themes/0-Subjectivity/">Subjectivity</a></li> 259<li><a href="/themes/0-Sustainable+Work/">Sustainable Work</a></li> 260<li><a href="/themes/0-Technology/">Technology</a></li> 261<li><a href="/themes/0-Universal+Basic+Income/">
261Universal Basic Income</a></li> 262<li><a href="/themes/0-Utopia/">Utopia</a></li> 263<li><a href="/themes/0-Vita+Activa/">Vita Activa</a></li> 264<li><a href="/themes/0-Volunteer+Work/">Volunteer Work</a></li> 265<li><a href="/themes/0-Waged+Work/">Waged Work</a></li> 266<li><a href="/themes/0-Women+and+Work/">Women and Work</a></li> 267<li><a href="/themes/0-Work+Ethic/">Work Ethic</a></li> 268<li><a href="/themes/0-Work+Life+Balance/">Work Life Balance</a></li> 269<li><a href="/themes/0-Work+in+Literature/">Work in Literature</a></li> 270<li><a href="/themes/0-Work+in+Moving+Images/">Work in Moving Images</a></li> 271<li><a href="/themes/0--Worker+Writings/">Worker Writings</a></li> 272</ul> 273</div> 274</div> 275 276</div> 277 278 279<div class="clearfix"> 280</div> 281 282<div class="footerhead container"> 283 284<div class="footer-logos"> 285 <a href="https://researchers.mq.edu.au/en/projects/the-case-for-work-2"> 286 <img src="https://onwork.edu.au/assets/arc400.png" alt="Australian Research Council"> 287 </a> 288 <a href="https://www.mq.edu.au/research/research-centres-groups-and-facilities/centres/ethics-and-agency"> 289 <img src="https://onwork.edu.au/assets/ethicsandagency.png" alt="Ethics and Agency Research Centre"> 290 </a> 291</div> 292<div class="footer" style="margin-top:1rem;margin-bottom:1rem;"> 293 <a href="https://www.mq.edu.au/about/about-the-university/governance/privacy">Privacy policy</a> • <a href="/cdn-cgi/l/email-protection#e78d97c98382958689939ea78a96c9828392c98692">Contact</a> • <a href="https://onwork.substack.com/?no_cover=true">Latest updates</a> • <a href="https://onwork.substack.com/subscribe?utm_source=onworkindex&simple=true&next=https%3A%2F%2Fonwork.substack.com%2F">Subscribe</a> • <a href="https://onwork.substack.com/feed/">RSS</a> 294</div> 295<div class="footer"> 296 297 <p>Content Copyright 2026 Jean-Philippe Deranty and Macquarie University. This website is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution Share-Alike Licence</a> (except for journal/book abstracts and quotations which are the property of their respective authors). </p><br/> 298 299 Cite this page: 300 301 <div id="footer-cite" style="text-indent:-1rem;padding-left:1rem;text-align:left;"></div>
vendor: 114 bytes, lines 301-302
301 302 <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
302<script type="text/javascript" src="/assets/js/citeproc/citeproc.js"></script>
302 303 304</div> 305</div> 306 </div> 307 </div> 308 309 <label for="sidebar-checkbox" class="sidebar-toggle"></label> 310 311
311<script> 312 /* Highlight search query: Adds <mark> tags around search terms from ?q= parameter */ 313 var url = window.location.href; 314 if (url.lastIndexOf("?q=") > 0) { 315 // Get the index of the parameter, add three (to account for "?q=" length) 316 var stringloc = url.lastIndexOf("?q=") + 3; 317 // Get the substring (query) and decode 318 var searchquery = decodeURIComponent(url.substr(stringloc)); 319 // Regex matches at beginning of line, end of line or word boundary 320 var regex = new RegExp("(?:^|\\b)(" + searchquery + ")(?:$|\\b)", "gim"); 321 // Get content, add mark tags, and set it back 322 var content = document.getElementById("main").innerHTML; 323 document.getElementById("main").innerHTML = content.replace(regex, "<mark>$1</mark>"); 324 } 325 326 /* Toggle sidebar: Close sidebar when clicking outside */ 327 (function(document) { 328 var toggle = document.querySelector('.sidebar-toggle'); 329 var sidebar = document.querySelector('#sidebar'); 330 var checkbox = document.querySelector('#sidebar-checkbox'); 331 var dropdown = document.querySelector('#citation-styles'); 332 333 document.addEventListener('click', function(e) { 334 var target = e.target; 335 336 // Don't close if clicking on citation style dropdown 337 if(target === dropdown){ 338 return false; 339 } 340 341 // Close sidebar if clicking outside 342 if(!checkbox.checked || 343 !sidebar.contains(target) || 344 (target === checkbox || target === toggle)) return; 345 346 checkbox.checked = false; 347 }, false); 348 })(document); 349 </script>
349 350 351
351<script type="text/javascript"> 352 // Initialize citation style selector with localStorage persistence 353 var e = document.getElementById("citation-styles"); 354 val = localStorage.getItem("format"); 355 if (val == undefined) { 356 e.value = "modern-language-association"; 357 var chosenStyleID = "modern-language-association"; 358 } else { 359 e.value = val; 360 var chosenStyleID = e.options[e.selectedIndex].value; 361 } 362 363 var today = new Date(); 364 365 // Citation data in CSL JSON format 366 var citationData = { 367 "items": [ 368 { 369 "id": "base", 370 "type": "webpage", 371 "title": "Debates on Work", 372 "author": [{"family": "Deranty", "given": "Jean-Philippe"}, {"family": "Saint James Aquino", "given": "Yves"}, {"family": "Ballsun-Stanton", "given": "Brian"}], 373 "issued": {"year": 2026}, 374 "container-title": "For Work / Against Work", 375 "URL": "https://onwork.edu.au/", 376 "accessed": { 377 "date-parts": [[today.getFullYear(), today.getMonth()+1, today.getDate()]] 378 } 379 } 380 ] 381 }; 382 383 // Build citation lookup 384 var citations = {}; 385 var itemIDs = []; 386 for (var i=0, ilen=citationData.items.length; i<ilen; i++) { 387 var item = citationData.items[i]; 388 if (!item.issued) continue; 389 var id = item.id; 390 citations[id] = item; 391 itemIDs.push(id); 392 } 393 394 // Initialize citeproc system object 395 citeprocSys = { 396 retrieveLocale: function(lang) { 397 var xhr = new XMLHttpRequest(); 398 xhr.open('GET', '/assets/js/citeproc/locales/locales-' + lang + '.xml', false); 399 xhr.send(null); 400 return xhr.responseText; 401 }, 402 retrieveItem: function(id) { 403 return citations[id]; 404 } 405 }; 406 407 // Get citeproc processor for given style 408 function getProcessor(styleID) { 409 var xhr = new XMLHttpRequest(); 410 xhr.open('GET', '/assets/js/citeproc/styles/' + styleID + '.csl', false); 411 xhr.send(null); 412 var styleAsText = xhr.responseText; 413 var citeproc = new CSL.Engine(citeprocSys, styleAsText); 414 return citeproc; 415 } 416 417 // Process and return bibliography HTML 418 function processorOutput(items) { 419 var citeproc = getProcessor(chosenStyleID); 420 citeproc.updateItems(items); 421 var bibResult = citeproc.makeBibliography(); 422 return bibResult[1].join('\n'); 423 } 424 425 // Render citation (called on page load and style change) 426 function renderCitation() { 427 var checkbox = document.querySelector('#sidebar-checkbox'); 428 checkbox.checked = false; 429 430 chosenStyleID = e.options[e.selectedIndex].value; 431 localStorage.setItem("format", chosenStyleID); 432 433 434 var footer = document.getElementById("footer-cite"); 435 footer.innerHTML = processorOutput(['base']); 436 } 437 438 // Render on page load 439 renderCitation(); 440 </script>
440 441 442 <!-- Google Analytics -->
vendor: 64 bytes, lines 442-443
442 443<script async src="https://www.googletagmanager.com/gtag/js?id=
443G-1W4X5DNBY0
vendor: 12 bytes, line 443
443"></script>
444<script> 445
vendor: 133 bytes, lines 445-448
445window.dataLayer = window.dataLayer || []; 446 function gtag(){dataLayer.push(arguments);} 447 gtag('js', new Date()); 448 gtag('config', '
448G-1W4X5DNBY0
vendor: 4 bytes, line 448
448');
449</script>
449 450 451
451<script src="/assets/js/vanilla-back-to-top.min.js"></script>
451 452
452<script>addBackToTop({ 453 diameter: 56, 454 backgroundColor: 'rgb(172, 65, 66)', 455 textColor: '#fff' 456 })</script>
456 457 458
458<script src="/pagefind/pagefind-ui.js"></script>
458 459
459<script> 460 window.addEventListener('DOMContentLoaded', (event) => { 461 // Check if this is the advanced search page 462 const isSearchPage = document.getElementById('advanced-search'); 463 const searchElement = isSearchPage ? '#advanced-search' : '#search'; 464 465 // Format citation with proper academic styling 466 // Uses markers that will be converted to HTML after Pagefind renders 467 function formatCitation(result) { 468 const author = result.meta.author || ''; 469 const title = result.meta.work || result.meta.title || ''; 470 const year = result.meta.year || ''; 471 const page = result.meta.page || ''; 472 const pubtype = result.meta.type || ''; 473 474 // Skip citation formatting if no author (e.g., theme/keyword/author pages) 475 if (!author) { 476 return result; // Use default title from page 477 } 478 479 // Use markers for italics (will be converted after render) 480 // Books get italics (marked with â¨â©), articles/chapters get quotes 481 let formattedTitle; 482 if (pubtype === 'Book') { 483 formattedTitle = 'â¨' + title + 'â©'; // Will become <i>...</i> 484 } else { 485 formattedTitle = '"' + title + '"'; 486 } 487 488 // Build full citation 489 let citation = author + '. ' + formattedTitle; 490 if (year) citation += ' (' + year + ')'; 491 if (page) citation += ' ' + page; 492 493 result.meta.title = citation; 494 return result; 495 } 496 497 // Convert italic/superscript markers to actual HTML after Pagefind renders 498 function convertItalicMarkers() { 499 document.querySelectorAll('.pagefind-ui__result-link').forEach(link => { 500 if (link.textContent.includes('â¨') || link.textContent.includes('â½')) { 501 link.innerHTML = link.textContent 502 .replace(/â¨/g, '<i>') 503 .replace(/â©/g, '</i>') 504 .replace(/â½/g, '<sup>') 505 .replace(/â¾/g, '</sup>'); 506 } 507 }); 508 } 509 510 // Watch for Pagefind result updates and convert italic markers 511 const searchContainer = document.querySelector(searchElement); 512 if (searchContainer) { 513 const observer = new MutationObserver((mutations) => { 514 convertItalicMarkers(); 515 }); 516 observer.observe(searchContainer, { childList: true, subtree: true }); 517 } 518 519 if (isSearchPage) { 520 // Advanced search page with useful facets only 521 new PagefindUI({ 522 element: searchElement, 523 showSubResults: true, 524 showImages: false, 525 showEmptyFilters: false, 526 openFilters: ["pagetype", "author", "year", "keyword", "theme", "pubtype", "journal"], 527 processResult: formatCitation, 528 translations: { 529 filters_label: "Filter results:", 530 searching: "Searching..." 531 } 532 }); 533 } else if (document.getElementById('search')) { 534 // Simple search in masthead (no filters) 535 new PagefindUI({ 536 element: searchElement, 537 showSubResults: false, 538 showImages: false, 539 showEmptyFilters: false, 540 processResult: formatCitation 541 }); 542 } 543 }); 544 </script>
544 545 546
546<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"30eac6f6ba6f41d781fa059ca07b6d68","r":1,"spa":2}' crossorigin="anonymous"></script>
546 547</body> 548</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.